This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by Net-SNMP configure 5.9, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --target=riscv64-buildroot-linux-uclibc --host=riscv64-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 --enable-nls --disable-static --enable-shared --with-persistent-directory=/var/lib/snmp --with-defaults --enable-mini-agent --without-rpm --with-logfile=none --without-kmem-usage --enable-as-needed --without-perl-modules --disable-embedded-perl --disable-perl-cc-checks --disable-scripts --with-default-snmp-version=1 --enable-silent-libtool --enable-mfd-rewrites --with-sys-contact=root@localhost --with-sys-location=Unknown --with-mib-modules=host ucd-snmp/dlmod agentx --with-out-mib-modules=disman/event disman/schedule utilities --disable-manuals --with-endianness=little --with-nl --with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl --with-security-modules=tsm,usm --with-transports=DTLSUDP,TLSTCP --disable-mib-loading --disable-mibs --disable-debugging --enable-agent --disable-applications ## --------- ## ## Platform. ## ## --------- ## hostname = n6 uname -m = x86_64 uname -r = 5.4.0-80-generic uname -s = Linux uname -v = #90-Ubuntu SMP Fri Jul 9 22:49:44 UTC 2021 /usr/bin/uname -p = x86_64 /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /tmp/instance-9/output-1/host/bin PATH: /tmp/instance-9/output-1/host/sbin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /snap/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:3358: checking for riscv64-buildroot-linux-uclibc-gcc configure:3385: result: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc configure:3654: checking for C compiler version configure:3663: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --version >&5 riscv64-buildroot-linux-uclibc-gcc.br_real (Buildroot 2021.05-75-gf5b86cf2ce) 9.4.0 Copyright (C) 2019 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:3674: $? = 0 configure:3663: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -v >&5 Using built-in specs. COLLECT_GCC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc.br_real COLLECT_LTO_WRAPPER=/tmp/instance-9/output-1/host/libexec/gcc/riscv64-buildroot-linux-uclibc/9.4.0/lto-wrapper Target: riscv64-buildroot-linux-uclibc Configured with: ./configure --prefix=/tmp/instance-9/output-1/host --sysconfdir=/tmp/instance-9/output-1/host/etc --enable-static --target=riscv64-buildroot-linux-uclibc --with-sysroot=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/tmp/instance-9/output-1/host --with-mpc=/tmp/instance-9/output-1/host --with-mpfr=/tmp/instance-9/output-1/host --with-pkgversion='Buildroot 2021.05-75-gf5b86cf2ce' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --with-arch=rv64imafd --with-abi=lp64d --enable-languages=c,c++ --with-build-time-tools=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/bin --enable-shared --disable-libgomp Thread model: posix gcc version 9.4.0 (Buildroot 2021.05-75-gf5b86cf2ce) COMPILER_PATH=/tmp/instance-9/output-1/host/libexec/gcc/riscv64-buildroot-linux-uclibc/9.4.0/:/tmp/instance-9/output-1/host/libexec/gcc/riscv64-buildroot-linux-uclibc/9.4.0/:/tmp/instance-9/output-1/host/libexec/gcc/riscv64-buildroot-linux-uclibc/:/tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/:/tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/:/tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ LIBRARY_PATH=/tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/:/tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/lib/:/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/lib/:/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/lib/ COLLECT_GCC_OPTIONS='-fPIE' '-pie' '-v' '-march=rv64imafd' '-mabi=lp64d' ... rest of stderr output deleted ... configure:3674: $? = 1 configure:3663: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -V >&5 riscv64-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command line option '-V' configure:3674: $? = 1 configure:3663: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -qversion >&5 riscv64-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command line option '-qversion'; did you mean '--version'? configure:3674: $? = 1 configure:3694: checking whether the C compiler works configure:3716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:3720: $? = 0 configure:3768: result: yes configure:3771: checking for C compiler default output file name configure:3773: result: a.out configure:3779: checking for suffix of executables configure:3786: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:3790: $? = 0 configure:3812: result: configure:3834: checking whether we are cross compiling configure:3872: result: yes configure:3877: checking for suffix of object files configure:3899: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3903: $? = 0 configure:3924: result: o configure:3928: checking whether we are using the GNU C compiler configure:3947: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3947: $? = 0 configure:3956: result: yes configure:3965: checking whether /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc accepts -g configure:3985: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3985: $? = 0 configure:4026: result: yes configure:4043: checking for /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc option to accept ISO C89 configure:4106: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4106: $? = 0 configure:4119: result: none needed configure:4145: checking how to run the C preprocessor configure:4215: result: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp configure:4235: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:4235: $? = 0 configure:4249: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:10:10: fatal error: ac_nonexistent.h: No such file or directory 10 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:4249: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | /* end confdefs.h. */ | #include configure:4278: checking for grep that handles long lines and -e configure:4336: result: /usr/bin/grep configure:4341: checking for egrep configure:4403: result: /usr/bin/grep -E configure:4408: checking for ANSI C header files configure:4428: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4428: $? = 0 configure:4512: result: yes configure:4525: checking for sys/types.h configure:4525: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4525: $? = 0 configure:4525: result: yes configure:4525: checking for sys/stat.h configure:4525: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4525: $? = 0 configure:4525: result: yes configure:4525: checking for stdlib.h configure:4525: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4525: $? = 0 configure:4525: result: yes configure:4525: checking for string.h configure:4525: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4525: $? = 0 configure:4525: result: yes configure:4525: checking for memory.h configure:4525: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4525: $? = 0 configure:4525: result: yes configure:4525: checking for strings.h configure:4525: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4525: $? = 0 configure:4525: result: yes configure:4525: checking for inttypes.h configure:4525: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4525: $? = 0 configure:4525: result: yes configure:4525: checking for stdint.h configure:4525: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4525: $? = 0 configure:4525: result: yes configure:4525: checking for unistd.h configure:4525: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4525: $? = 0 configure:4525: result: yes configure:4538: checking minix/config.h usability configure:4538: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:53:10: fatal error: minix/config.h: No such file or directory 53 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:4538: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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:4538: result: no configure:4538: checking minix/config.h presence configure:4538: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:20:10: fatal error: minix/config.h: No such file or directory 20 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:4538: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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:4538: result: no configure:4538: checking for minix/config.h configure:4538: result: no configure:4559: checking whether it is safe to define __EXTENSIONS__ configure:4577: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4577: $? = 0 configure:4584: result: yes configure:4654: WARNING: --with-endianness is obsolete configure:4786: checking openssl/aes.h usability configure:4786: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4786: $? = 0 configure:4786: result: yes configure:4786: checking openssl/aes.h presence configure:4786: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:4786: $? = 0 configure:4786: result: yes configure:4786: checking for openssl/aes.h configure:4786: result: yes configure:4786: checking openssl/evp.h usability configure:4786: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4786: $? = 0 configure:4786: result: yes configure:4786: checking openssl/evp.h presence configure:4786: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:4786: $? = 0 configure:4786: result: yes configure:4786: checking for openssl/evp.h configure:4786: result: yes configure:5059: checking what to build and install configure:5061: result: agent configure:5449: result: using default persistent mask 077 configure:5488: result: using default temporary file pattern /tmp/snmpdXXXXXX configure:5919: result: using default AgentX socket /var/agentx/master configure:6271: result: using default "enterprise.net-snmp" configure:6309: result: using default enterprise sysOID "NET-SNMP-MIB::netSnmpAgentOIDs..." configure:6347: result: using default notifications "NET-SNMP-MIB::netSnmpNotifications" configure:6453: result: using OS default send buffer size for server sockets configure:6475: result: using OS default recv buffer size for server sockets configure:6497: result: using OS default send buffer size for client sockets configure:6519: result: using OS default recv buffer size for client sockets configure:6702: checking Default version of SNMP to use configure:6745: result: 1 configure:6773: checking System Contact Information configure:6807: result: root@localhost configure:6826: checking System Location configure:6859: result: Unknown configure:6884: checking Location to write logfile configure:6918: result: none configure:6945: checking Location to write persistent information configure:6983: result: /var/lib/snmp configure:7061: checking if I need to feed myself to ksh configure:7077: result: no configure:7086: checking for egrep configure:7148: result: /usr/bin/grep -E configure:7153: checking for grep that handles long lines and -e configure:7211: result: /usr/bin/grep configure:7259: checking for a BSD-compatible install configure:7327: result: /usr/bin/install -c configure:7338: checking whether ln -s works configure:7342: result: yes configure:7349: checking whether make sets $(MAKE) configure:7371: result: yes configure:7380: checking for a sed that does not truncate output configure:7444: result: /usr/bin/sed configure:7454: checking for file configure:7470: found /tmp/instance-9/output-1/host/bin/file configure:7481: result: file configure:7505: checking for find configure:7521: found /usr/bin/find configure:7532: result: find configure:7547: checking for whoami configure:7563: found /usr/bin/whoami configure:7574: result: whoami configure:7589: checking for autoconf configure:7607: found /tmp/instance-9/output-1/host/bin/autoconf configure:7620: result: /tmp/instance-9/output-1/host/bin/autoconf configure:7630: checking for autoheader configure:7648: found /tmp/instance-9/output-1/host/bin/autoheader configure:7661: result: /tmp/instance-9/output-1/host/bin/autoheader configure:7671: checking for perl configure:7689: found /usr/bin/perl configure:7701: result: /usr/bin/perl configure:7711: checking for ps configure:7741: result: /bin/ps configure:7751: checking for python3 configure:7769: found /tmp/instance-9/output-1/host/bin/python3 configure:7781: result: /tmp/instance-9/output-1/host/bin/python3 configure:7792: checking for uname configure:7810: found /usr/bin/uname configure:7822: result: /usr/bin/uname configure:7849: checking whether the Perl function system() invokes a POSIX shell configure:7856: result: yes configure:7879: checking for riscv64-buildroot-linux-uclibc-gcc configure:7906: result: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc configure:8175: checking for C compiler version configure:8184: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc --version >&5 riscv64-buildroot-linux-uclibc-gcc.br_real (Buildroot 2021.05-75-gf5b86cf2ce) 9.4.0 Copyright (C) 2019 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:8195: $? = 0 configure:8184: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -v >&5 Using built-in specs. COLLECT_GCC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc.br_real COLLECT_LTO_WRAPPER=/tmp/instance-9/output-1/host/libexec/gcc/riscv64-buildroot-linux-uclibc/9.4.0/lto-wrapper Target: riscv64-buildroot-linux-uclibc Configured with: ./configure --prefix=/tmp/instance-9/output-1/host --sysconfdir=/tmp/instance-9/output-1/host/etc --enable-static --target=riscv64-buildroot-linux-uclibc --with-sysroot=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/tmp/instance-9/output-1/host --with-mpc=/tmp/instance-9/output-1/host --with-mpfr=/tmp/instance-9/output-1/host --with-pkgversion='Buildroot 2021.05-75-gf5b86cf2ce' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --with-arch=rv64imafd --with-abi=lp64d --enable-languages=c,c++ --with-build-time-tools=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/bin --enable-shared --disable-libgomp Thread model: posix gcc version 9.4.0 (Buildroot 2021.05-75-gf5b86cf2ce) COMPILER_PATH=/tmp/instance-9/output-1/host/libexec/gcc/riscv64-buildroot-linux-uclibc/9.4.0/:/tmp/instance-9/output-1/host/libexec/gcc/riscv64-buildroot-linux-uclibc/9.4.0/:/tmp/instance-9/output-1/host/libexec/gcc/riscv64-buildroot-linux-uclibc/:/tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/:/tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/:/tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ LIBRARY_PATH=/tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/:/tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/lib/:/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/lib/:/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/lib/ COLLECT_GCC_OPTIONS='-fPIE' '-pie' '-v' '-march=rv64imafd' '-mabi=lp64d' ... rest of stderr output deleted ... configure:8195: $? = 1 configure:8184: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -V >&5 riscv64-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command line option '-V' configure:8195: $? = 1 configure:8184: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -qversion >&5 riscv64-buildroot-linux-uclibc-gcc.br_real: error: unrecognized command line option '-qversion'; did you mean '--version'? configure:8195: $? = 1 configure:8199: checking whether we are using the GNU C compiler configure:8227: result: yes configure:8236: checking whether /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc accepts -g configure:8297: result: yes configure:8314: checking for /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc option to accept ISO C89 configure:8390: result: none needed configure:8415: checking how to run the C preprocessor configure:8485: result: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp configure:8505: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:8505: $? = 0 configure:8519: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:46:10: fatal error: ac_nonexistent.h: No such file or directory 46 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:8519: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | /* end confdefs.h. */ | #include configure:8550: checking for an ANSI C-conforming const configure:8616: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8616: $? = 0 configure:8623: result: yes configure:8631: checking for inline configure:8647: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8647: $? = 0 configure:8655: result: inline configure:8706: checking build system type configure:8720: result: x86_64-pc-linux-gnu configure:8740: checking host system type configure:8753: result: riscv64-buildroot-linux-uclibc configure:8794: checking how to print strings configure:8821: result: printf configure:8842: checking for a sed that does not truncate output configure:8906: result: /usr/bin/sed configure:8924: checking for fgrep configure:8986: result: /usr/bin/grep -F configure:9021: checking for ld used by /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc configure:9088: result: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-ld configure:9095: checking if the linker (/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-ld) is GNU ld configure:9110: result: yes configure:9122: checking for BSD- or MS-compatible name lister (nm) configure:9176: result: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-nm configure:9306: checking the name lister (/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-nm) interface configure:9313: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:9316: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-nm "conftest.o" configure:9319: output 0000000000000000 B some_variable configure:9320: result: BSD nm configure:9324: checking the maximum length of command line arguments configure:9455: result: 1572864 configure:9503: checking how to convert x86_64-pc-linux-gnu file names to riscv64-buildroot-linux-uclibc format configure:9543: result: func_convert_file_noop configure:9550: checking how to convert x86_64-pc-linux-gnu file names to toolchain format configure:9570: result: func_convert_file_noop configure:9577: checking for /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-ld option to reload object files configure:9584: result: -r configure:9618: checking for riscv64-buildroot-linux-uclibc-objdump configure:9645: result: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-objdump configure:9714: checking how to recognize dependent libraries configure:9914: result: pass_all configure:9959: checking for riscv64-buildroot-linux-uclibc-dlltool configure:9989: result: no configure:9999: checking for dlltool configure:10029: result: no configure:10056: checking how to associate runtime and link libraries configure:10083: result: printf %s\n configure:10099: checking for riscv64-buildroot-linux-uclibc-ar configure:10126: result: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-ar configure:10207: checking for archiver @FILE support configure:10224: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10224: $? = 0 configure:10227: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-ar cru libconftest.a @conftest.lst >&5 configure:10230: $? = 0 configure:10235: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-ar cru libconftest.a @conftest.lst >&5 /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-ar: conftest.o: No such file or directory configure:10238: $? = 1 configure:10237: result: @ configure:10255: checking for riscv64-buildroot-linux-uclibc-strip configure:10282: result: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-strip configure:10354: checking for riscv64-buildroot-linux-uclibc-ranlib configure:10381: result: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-ranlib configure:10498: checking for gawk configure:10514: found /tmp/instance-9/output-1/host/bin/gawk configure:10525: result: gawk configure:10565: checking command to parse /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-nm output from /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc object configure:10718: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10721: $? = 0 configure:10725: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-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:10728: $? = 0 configure:10794: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftstm.o >&5 configure:10797: $? = 0 configure:10835: result: ok configure:10882: checking for sysroot configure:10912: result: no configure:10919: checking for a working dd configure:10957: result: /usr/bin/dd configure:10961: checking how to truncate binary pipes configure:10976: result: /usr/bin/dd bs=4096 count=1 configure:11265: checking for riscv64-buildroot-linux-uclibc-mt configure:11295: result: no configure:11305: checking for mt configure:11321: found /usr/bin/mt configure:11332: result: mt configure:11344: WARNING: using cross tools not prefixed with host triplet configure:11355: checking if mt is a manifest tool configure:11361: mt '-?' configure:11369: result: no configure:12043: checking for dlfcn.h configure:12043: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:12043: $? = 0 configure:12043: result: yes configure:12597: checking for objdir configure:12612: result: .libs configure:12876: checking if /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports -fno-rtti -fno-exceptions configure:12894: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -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 configure:12898: $? = 0 configure:12911: result: no configure:13269: checking for /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc option to produce PIC configure:13276: result: -fPIC -DPIC configure:13284: checking if /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc PIC flag -fPIC -DPIC works configure:13302: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -DPIC -DPIC conftest.c >&5 configure:13306: $? = 0 configure:13319: result: yes configure:13348: checking if /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc static flag -static works configure:13376: result: yes configure:13391: checking if /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports -c -o file.o configure:13412: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o out/conftest2.o conftest.c >&5 configure:13416: $? = 0 configure:13438: result: yes configure:13446: checking if /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports -c -o file.o configure:13493: result: yes configure:13526: checking whether the /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc linker (/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-ld) supports shared libraries configure:14785: result: yes configure:14822: checking whether -lc should be explicitly linked in configure:14830: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14833: $? = 0 configure:14848: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep -lc \>/dev/null 2\>\&1 configure:14851: $? = 0 configure:14865: result: no configure:15025: checking dynamic linker characteristics configure:15606: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-rpath -Wl,/foo conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:15606: $? = 0 configure:15843: result: GNU/Linux ld.so configure:15965: checking how to hardcode library paths into programs configure:15990: result: immediate configure:16538: checking whether stripping libraries is possible configure:16543: result: yes configure:16578: checking if libtool supports shared libraries configure:16580: result: yes configure:16583: checking whether to build shared libraries configure:16608: result: yes configure:16611: checking whether to build static libraries configure:16615: result: no configure:13447: checking for riscv64-buildroot-linux-uclibc-windres configure:13477: result: no configure:13487: checking for windres configure:13517: result: no configure:13627: checking for developer gcc flags configure:13677: result: configure:13726: checking target system type configure:13739: result: riscv64-buildroot-linux-uclibc configure:13788: checking whether the linker supports -Wl,-no-undefined configure:13802: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-no-undefined conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:13802: $? = 0 configure:13803: result: yes configure:13832: checking whether to un-define target system token (before redefining) configure:13848: result: yes configure:13863: checking for system include file configure:13886: result: net-snmp/system/linux.h configure:13896: checking for machine-type include file configure:13911: result: net-snmp/machine/generic.h configure:13934: checking for additional cpp flags configure:13951: result: configure:13960: checking for /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc configure:13993: result: no configure:14032: checking whether the compiler supports -fno-strict-aliasing configure:14047: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:14047: $? = 0 configure:14048: result: yes configure:14135: checking for dpkg-query configure:14153: found /usr/bin/dpkg-query configure:14165: result: /usr/bin/dpkg-query configure:14322: checking for ANSI C header files configure:14426: result: yes configure:14437: checking for dirent.h that defines DIR configure:14456: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14456: $? = 0 configure:14464: result: yes configure:14477: checking for library containing opendir configure:14508: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:14508: $? = 0 configure:14525: result: none required configure:14598: checking for sys/wait.h that is POSIX.1 compatible configure:14624: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14624: $? = 0 configure:14631: result: yes configure:14651: checking getopt.h usability configure:14651: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14651: $? = 0 configure:14651: result: yes configure:14651: checking getopt.h presence configure:14651: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14651: $? = 0 configure:14651: result: yes configure:14651: checking for getopt.h configure:14651: result: yes configure:14651: checking pthread.h usability configure:14651: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14651: $? = 0 configure:14651: result: yes configure:14651: checking pthread.h presence configure:14651: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14651: $? = 0 configure:14651: result: yes configure:14651: checking for pthread.h configure:14651: result: yes configure:14651: checking regex.h usability configure:14651: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14651: $? = 0 configure:14651: result: yes configure:14651: checking regex.h presence configure:14651: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14651: $? = 0 configure:14651: result: yes configure:14651: checking for regex.h configure:14651: result: yes configure:14651: checking for string.h configure:14651: result: yes configure:14651: checking syslog.h usability configure:14651: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14651: $? = 0 configure:14651: result: yes configure:14651: checking syslog.h presence configure:14651: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14651: $? = 0 configure:14651: result: yes configure:14651: checking for syslog.h configure:14651: result: yes configure:14651: checking for unistd.h configure:14651: result: yes configure:14651: checking for stdint.h configure:14651: result: yes configure:14651: checking for inttypes.h configure:14651: result: yes configure:14651: checking process.h usability configure:14651: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:100:10: fatal error: process.h: No such file or directory 100 | #include | ^~~~~~~~~~~ compilation terminated. configure:14651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_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:14651: result: no configure:14651: checking process.h presence configure:14651: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:67:10: fatal error: process.h: No such file or directory 67 | #include | ^~~~~~~~~~~ compilation terminated. configure:14651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | /* end confdefs.h. */ | #include configure:14651: result: no configure:14651: checking for process.h configure:14651: result: no configure:14651: checking sys/param.h usability configure:14651: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14651: $? = 0 configure:14651: result: yes configure:14651: checking sys/param.h presence configure:14651: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14651: $? = 0 configure:14651: result: yes configure:14651: checking for sys/param.h configure:14651: result: yes configure:14651: checking sys/select.h usability configure:14651: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14651: $? = 0 configure:14651: result: yes configure:14651: checking sys/select.h presence configure:14651: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14651: $? = 0 configure:14651: result: yes configure:14651: checking for sys/select.h configure:14651: result: yes configure:14651: checking sys/syslog.h usability configure:14651: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14651: $? = 0 configure:14651: result: yes configure:14651: checking sys/syslog.h presence configure:14651: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14651: $? = 0 configure:14651: result: yes configure:14651: checking for sys/syslog.h configure:14651: result: yes configure:14651: checking sys/time.h usability configure:14651: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14651: $? = 0 configure:14651: result: yes configure:14651: checking sys/time.h presence configure:14651: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14651: $? = 0 configure:14651: result: yes configure:14651: checking for sys/time.h configure:14651: result: yes configure:14651: checking sys/timeb.h usability configure:14651: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14651: $? = 0 configure:14651: result: yes configure:14651: checking sys/timeb.h presence configure:14651: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14651: $? = 0 configure:14651: result: yes configure:14651: checking for sys/timeb.h configure:14651: result: yes configure:14665: checking for nlist.h configure:14665: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:112:10: fatal error: nlist.h: No such file or directory 112 | #include | ^~~~~~~~~ compilation terminated. configure:14665: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_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 | | #ifndef LIBBSD_DISABLE_DEPRECATED | #define LIBBSD_DISABLE_DEPRECATED 1 | #endif | | | #include configure:14665: result: no configure:14687: checking crt_externs.h usability configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:105:10: fatal error: crt_externs.h: No such file or directory 105 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:14687: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_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:14687: result: no configure:14687: checking crt_externs.h presence configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:72:10: fatal error: crt_externs.h: No such file or directory 72 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:14687: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | /* end confdefs.h. */ | #include configure:14687: result: no configure:14687: checking for crt_externs.h configure:14687: result: no configure:14687: checking fcntl.h usability configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14687: $? = 0 configure:14687: result: yes configure:14687: checking fcntl.h presence configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14687: $? = 0 configure:14687: result: yes configure:14687: checking for fcntl.h configure:14687: result: yes configure:14687: checking io.h usability configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:106:10: fatal error: io.h: No such file or directory 106 | #include | ^~~~~~ compilation terminated. configure:14687: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_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:14687: result: no configure:14687: checking io.h presence configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:73:10: fatal error: io.h: No such file or directory 73 | #include | ^~~~~~ compilation terminated. configure:14687: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | /* end confdefs.h. */ | #include configure:14687: result: no configure:14687: checking for io.h configure:14687: result: no configure:14687: checking kstat.h usability configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:106:10: fatal error: kstat.h: No such file or directory 106 | #include | ^~~~~~~~~ compilation terminated. configure:14687: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_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:14687: result: no configure:14687: checking kstat.h presence configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:73:10: fatal error: kstat.h: No such file or directory 73 | #include | ^~~~~~~~~ compilation terminated. configure:14687: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | /* end confdefs.h. */ | #include configure:14687: result: no configure:14687: checking for kstat.h configure:14687: result: no configure:14687: checking limits.h usability configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14687: $? = 0 configure:14687: result: yes configure:14687: checking limits.h presence configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14687: $? = 0 configure:14687: result: yes configure:14687: checking for limits.h configure:14687: result: yes configure:14687: checking locale.h usability configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14687: $? = 0 configure:14687: result: yes configure:14687: checking locale.h presence configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14687: $? = 0 configure:14687: result: yes configure:14687: checking for locale.h configure:14687: result: yes configure:14687: checking mach-o/dyld.h usability configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:108:10: fatal error: mach-o/dyld.h: No such file or directory 108 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:14687: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_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:14687: result: no configure:14687: checking mach-o/dyld.h presence configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:75:10: fatal error: mach-o/dyld.h: No such file or directory 75 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:14687: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | /* end confdefs.h. */ | #include configure:14687: result: no configure:14687: checking for mach-o/dyld.h configure:14687: result: no configure:14687: checking sys/file.h usability configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14687: $? = 0 configure:14687: result: yes configure:14687: checking sys/file.h presence configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14687: $? = 0 configure:14687: result: yes configure:14687: checking for sys/file.h configure:14687: result: yes configure:14687: checking sys/ioctl.h usability configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14687: $? = 0 configure:14687: result: yes configure:14687: checking sys/ioctl.h presence configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14687: $? = 0 configure:14687: result: yes configure:14687: checking for sys/ioctl.h configure:14687: result: yes configure:14687: checking sys/sockio.h usability configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:110:10: fatal error: sys/sockio.h: No such file or directory 110 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:14687: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_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:14687: result: no configure:14687: checking sys/sockio.h presence configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:77:10: fatal error: sys/sockio.h: No such file or directory 77 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:14687: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | /* end confdefs.h. */ | #include configure:14687: result: no configure:14687: checking for sys/sockio.h configure:14687: result: no configure:14687: checking for sys/stat.h configure:14687: result: yes configure:14687: checking sys/systemcfg.h usability configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:111:10: fatal error: sys/systemcfg.h: No such file or directory 111 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:14687: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_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:14687: result: no configure:14687: checking sys/systemcfg.h presence configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:78:10: fatal error: sys/systemcfg.h: No such file or directory 78 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:14687: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | /* end confdefs.h. */ | #include configure:14687: result: no configure:14687: checking for sys/systemcfg.h configure:14687: result: no configure:14687: checking sys/systeminfo.h usability configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:111:10: fatal error: sys/systeminfo.h: No such file or directory 111 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:14687: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_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:14687: result: no configure:14687: checking sys/systeminfo.h presence configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:78:10: fatal error: sys/systeminfo.h: No such file or directory 78 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:14687: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | /* end confdefs.h. */ | #include configure:14687: result: no configure:14687: checking for sys/systeminfo.h configure:14687: result: no configure:14687: checking sys/times.h usability configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14687: $? = 0 configure:14687: result: yes configure:14687: checking sys/times.h presence configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14687: $? = 0 configure:14687: result: yes configure:14687: checking for sys/times.h configure:14687: result: yes configure:14687: checking sys/uio.h usability configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14687: $? = 0 configure:14687: result: yes configure:14687: checking sys/uio.h presence configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14687: $? = 0 configure:14687: result: yes configure:14687: checking for sys/uio.h configure:14687: result: yes configure:14687: checking sys/utsname.h usability configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14687: $? = 0 configure:14687: result: yes configure:14687: checking sys/utsname.h presence configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14687: $? = 0 configure:14687: result: yes configure:14687: checking for sys/utsname.h configure:14687: result: yes configure:14687: checking netipx/ipx.h usability configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14687: $? = 0 configure:14687: result: yes configure:14687: checking netipx/ipx.h presence configure:14687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14687: $? = 0 configure:14687: result: yes configure:14687: checking for netipx/ipx.h configure:14687: result: yes configure:14702: checking for dlfcn.h configure:14702: result: yes configure:14702: checking err.h usability configure:14702: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14702: $? = 0 configure:14702: result: yes configure:14702: checking err.h presence configure:14702: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14702: $? = 0 configure:14702: result: yes configure:14702: checking for err.h configure:14702: result: yes configure:14702: checking for fcntl.h configure:14702: result: yes configure:14702: checking fstab.h usability configure:14702: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:118:10: fatal error: fstab.h: No such file or directory 118 | #include | ^~~~~~~~~ compilation terminated. configure:14702: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_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:14702: result: no configure:14702: checking fstab.h presence configure:14702: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:85:10: fatal error: fstab.h: No such file or directory 85 | #include | ^~~~~~~~~ compilation terminated. configure:14702: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | /* end confdefs.h. */ | #include configure:14702: result: no configure:14702: checking for fstab.h configure:14702: result: no configure:14702: checking grp.h usability configure:14702: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14702: $? = 0 configure:14702: result: yes configure:14702: checking grp.h presence configure:14702: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14702: $? = 0 configure:14702: result: yes configure:14702: checking for grp.h configure:14702: result: yes configure:14702: checking for io.h configure:14702: result: no configure:14702: checking ioctls.h usability configure:14702: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:119:10: fatal error: ioctls.h: No such file or directory 119 | #include | ^~~~~~~~~~ compilation terminated. configure:14702: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_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:14702: result: no configure:14702: checking ioctls.h presence configure:14702: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:86:10: fatal error: ioctls.h: No such file or directory 86 | #include | ^~~~~~~~~~ compilation terminated. configure:14702: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | /* end confdefs.h. */ | #include configure:14702: result: no configure:14702: checking for ioctls.h configure:14702: result: no configure:14702: checking for kstat.h configure:14702: result: no configure:14702: checking kvm.h usability configure:14702: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:119:10: fatal error: kvm.h: No such file or directory 119 | #include | ^~~~~~~ compilation terminated. configure:14702: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_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:14702: result: no configure:14702: checking kvm.h presence configure:14702: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:86:10: fatal error: kvm.h: No such file or directory 86 | #include | ^~~~~~~ compilation terminated. configure:14702: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | /* end confdefs.h. */ | #include configure:14702: result: no configure:14702: checking for kvm.h configure:14702: result: no configure:14702: checking for limits.h configure:14702: result: yes configure:14702: checking mntent.h usability configure:14702: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14702: $? = 0 configure:14702: result: yes configure:14702: checking mntent.h presence configure:14702: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14702: $? = 0 configure:14702: result: yes configure:14702: checking for mntent.h configure:14702: result: yes configure:14702: checking mtab.h usability configure:14702: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:121:10: fatal error: mtab.h: No such file or directory 121 | #include | ^~~~~~~~ compilation terminated. configure:14702: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_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:14702: result: no configure:14702: checking mtab.h presence configure:14702: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:88:10: fatal error: mtab.h: No such file or directory 88 | #include | ^~~~~~~~ compilation terminated. configure:14702: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | /* end confdefs.h. */ | #include configure:14702: result: no configure:14702: checking for mtab.h configure:14702: result: no configure:14702: checking pkglocs.h usability configure:14702: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:121:10: fatal error: pkglocs.h: No such file or directory 121 | #include | ^~~~~~~~~~~ compilation terminated. configure:14702: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_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:14702: result: no configure:14702: checking pkglocs.h presence configure:14702: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:88:10: fatal error: pkglocs.h: No such file or directory 88 | #include | ^~~~~~~~~~~ compilation terminated. configure:14702: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | /* end confdefs.h. */ | #include configure:14702: result: no configure:14702: checking for pkglocs.h configure:14702: result: no configure:14702: checking pwd.h usability configure:14702: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14702: $? = 0 configure:14702: result: yes configure:14702: checking pwd.h presence configure:14702: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14702: $? = 0 configure:14702: result: yes configure:14702: checking for pwd.h configure:14702: result: yes configure:14702: checking com_err.h usability configure:14702: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:122:10: fatal error: com_err.h: No such file or directory 122 | #include | ^~~~~~~~~~~ compilation terminated. configure:14702: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_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:14702: result: no configure:14702: checking com_err.h presence configure:14702: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:89:10: fatal error: com_err.h: No such file or directory 89 | #include | ^~~~~~~~~~~ compilation terminated. configure:14702: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | /* end confdefs.h. */ | #include configure:14702: result: no configure:14702: checking for com_err.h configure:14702: result: no configure:14702: checking et/com_err.h usability configure:14702: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:122:10: fatal error: et/com_err.h: No such file or directory 122 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:14702: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_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:14702: result: no configure:14702: checking et/com_err.h presence configure:14702: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:89:10: fatal error: et/com_err.h: No such file or directory 89 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:14702: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | /* end confdefs.h. */ | #include configure:14702: result: no configure:14702: checking for et/com_err.h configure:14702: result: no configure:14702: checking utmpx.h usability configure:14702: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14702: $? = 0 configure:14702: result: yes configure:14702: checking utmpx.h presence configure:14702: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14702: $? = 0 configure:14702: result: yes configure:14702: checking for utmpx.h configure:14702: result: yes configure:14702: checking utsname.h usability configure:14702: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:123:10: fatal error: utsname.h: No such file or directory 123 | #include | ^~~~~~~~~~~ compilation terminated. configure:14702: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_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:14702: result: no configure:14702: checking utsname.h presence configure:14702: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:90:10: fatal error: utsname.h: No such file or directory 90 | #include | ^~~~~~~~~~~ compilation terminated. configure:14702: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | /* end confdefs.h. */ | #include configure:14702: result: no configure:14702: checking for utsname.h configure:14702: result: no configure:14716: checking sys/diskio.h usability configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:123:10: fatal error: sys/diskio.h: No such file or directory 123 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_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:14716: result: no configure:14716: checking sys/diskio.h presence configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:90:10: fatal error: sys/diskio.h: No such file or directory 90 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | /* end confdefs.h. */ | #include configure:14716: result: no configure:14716: checking for sys/diskio.h configure:14716: result: no configure:14716: checking sys/dkio.h usability configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:123:10: fatal error: sys/dkio.h: No such file or directory 123 | #include | ^~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_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:14716: result: no configure:14716: checking sys/dkio.h presence configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:90:10: fatal error: sys/dkio.h: No such file or directory 90 | #include | ^~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | /* end confdefs.h. */ | #include configure:14716: result: no configure:14716: checking for sys/dkio.h configure:14716: result: no configure:14716: checking for sys/file.h configure:14716: result: yes configure:14716: checking sys/filio.h usability configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:124:10: fatal error: sys/filio.h: No such file or directory 124 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_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:14716: result: no configure:14716: checking sys/filio.h presence configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:91:10: fatal error: sys/filio.h: No such file or directory 91 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | /* end confdefs.h. */ | #include configure:14716: result: no configure:14716: checking for sys/filio.h configure:14716: result: no configure:14716: checking sys/fixpoint.h usability configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:124:10: fatal error: sys/fixpoint.h: No such file or directory 124 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_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:14716: result: no configure:14716: checking sys/fixpoint.h presence configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:91:10: fatal error: sys/fixpoint.h: No such file or directory 91 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | /* end confdefs.h. */ | #include configure:14716: result: no configure:14716: checking for sys/fixpoint.h configure:14716: result: no configure:14716: checking sys/fs.h usability configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:124:10: fatal error: sys/fs.h: No such file or directory 124 | #include | ^~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_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:14716: result: no configure:14716: checking sys/fs.h presence configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:91:10: fatal error: sys/fs.h: No such file or directory 91 | #include | ^~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | /* end confdefs.h. */ | #include configure:14716: result: no configure:14716: checking for sys/fs.h configure:14716: result: no configure:14716: checking for sys/ioctl.h configure:14716: result: yes configure:14716: checking sys/loadavg.h usability configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:125:10: fatal error: sys/loadavg.h: No such file or directory 125 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_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:14716: result: no configure:14716: checking sys/loadavg.h presence configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:92:10: fatal error: sys/loadavg.h: No such file or directory 92 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | /* end confdefs.h. */ | #include configure:14716: result: no configure:14716: checking for sys/loadavg.h configure:14716: result: no configure:14716: checking sys/mntent.h usability configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:125:10: fatal error: sys/mntent.h: No such file or directory 125 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_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:14716: result: no configure:14716: checking sys/mntent.h presence configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:92:10: fatal error: sys/mntent.h: No such file or directory 92 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | /* end confdefs.h. */ | #include configure:14716: result: no configure:14716: checking for sys/mntent.h configure:14716: result: no configure:14716: checking sys/mnttab.h usability configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:125:10: fatal error: sys/mnttab.h: No such file or directory 125 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_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:14716: result: no configure:14716: checking sys/mnttab.h presence configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:92:10: fatal error: sys/mnttab.h: No such file or directory 92 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | /* end confdefs.h. */ | #include configure:14716: result: no configure:14716: checking for sys/mnttab.h configure:14716: result: no configure:14716: checking sys/pool.h usability configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:125:10: fatal error: sys/pool.h: No such file or directory 125 | #include | ^~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_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:14716: result: no configure:14716: checking sys/pool.h presence configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:92:10: fatal error: sys/pool.h: No such file or directory 92 | #include | ^~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | /* end confdefs.h. */ | #include configure:14716: result: no configure:14716: checking for sys/pool.h configure:14716: result: no configure:14716: checking sys/protosw.h usability configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:125:10: fatal error: sys/protosw.h: No such file or directory 125 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_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:14716: result: no configure:14716: checking sys/protosw.h presence configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:92:10: fatal error: sys/protosw.h: No such file or directory 92 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | /* end confdefs.h. */ | #include configure:14716: result: no configure:14716: checking for sys/protosw.h configure:14716: result: no configure:14716: checking sys/pstat.h usability configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:125:10: fatal error: sys/pstat.h: No such file or directory 125 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_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:14716: result: no configure:14716: checking sys/pstat.h presence configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:92:10: fatal error: sys/pstat.h: No such file or directory 92 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | /* end confdefs.h. */ | #include configure:14716: result: no configure:14716: checking for sys/pstat.h configure:14716: result: no configure:14716: checking for sys/sockio.h configure:14716: result: no configure:14716: checking for sys/stat.h configure:14716: result: yes configure:14716: checking sys/statfs.h usability configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14716: $? = 0 configure:14716: result: yes configure:14716: checking sys/statfs.h presence configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14716: $? = 0 configure:14716: result: yes configure:14716: checking for sys/statfs.h configure:14716: result: yes configure:14716: checking sys/statvfs.h usability configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14716: $? = 0 configure:14716: result: yes configure:14716: checking sys/statvfs.h presence configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14716: $? = 0 configure:14716: result: yes configure:14716: checking for sys/statvfs.h configure:14716: result: yes configure:14716: checking sys/stream.h usability configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:128:10: fatal error: sys/stream.h: No such file or directory 128 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_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:14716: result: no configure:14716: checking sys/stream.h presence configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:95:10: fatal error: sys/stream.h: No such file or directory 95 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | /* end confdefs.h. */ | #include configure:14716: result: no configure:14716: checking for sys/stream.h configure:14716: result: no configure:14716: checking sys/sysget.h usability configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:128:10: fatal error: sys/sysget.h: No such file or directory 128 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_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:14716: result: no configure:14716: checking sys/sysget.h presence configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:95:10: fatal error: sys/sysget.h: No such file or directory 95 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | /* end confdefs.h. */ | #include configure:14716: result: no configure:14716: checking for sys/sysget.h configure:14716: result: no configure:14716: checking sys/sysmacros.h usability configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14716: $? = 0 configure:14716: result: yes configure:14716: checking sys/sysmacros.h presence configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14716: $? = 0 configure:14716: result: yes configure:14716: checking for sys/sysmacros.h configure:14716: result: yes configure:14716: checking sys/sysmp.h usability configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:129:10: fatal error: sys/sysmp.h: No such file or directory 129 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_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:14716: result: no configure:14716: checking sys/sysmp.h presence configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:96:10: fatal error: sys/sysmp.h: No such file or directory 96 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | /* end confdefs.h. */ | #include configure:14716: result: no configure:14716: checking for sys/sysmp.h configure:14716: result: no configure:14716: checking sys/tcpipstats.h usability configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:129:10: fatal error: sys/tcpipstats.h: No such file or directory 129 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_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:14716: result: no configure:14716: checking sys/tcpipstats.h presence configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:96:10: fatal error: sys/tcpipstats.h: No such file or directory 96 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | /* end confdefs.h. */ | #include configure:14716: result: no configure:14716: checking for sys/tcpipstats.h configure:14716: result: no configure:14716: checking for sys/utsname.h configure:14716: result: yes configure:14716: checking sys/vfs.h usability configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14716: $? = 0 configure:14716: result: yes configure:14716: checking sys/vfs.h presence configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14716: $? = 0 configure:14716: result: yes configure:14716: checking for sys/vfs.h configure:14716: result: yes configure:14716: checking sys/vm.h usability configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:131:10: fatal error: sys/vm.h: No such file or directory 131 | #include | ^~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_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:14716: result: no configure:14716: checking sys/vm.h presence configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:98:10: fatal error: sys/vm.h: No such file or directory 98 | #include | ^~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | /* end confdefs.h. */ | #include configure:14716: result: no configure:14716: checking for sys/vm.h configure:14716: result: no configure:14716: checking sys/vmmac.h usability configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:131:10: fatal error: sys/vmmac.h: No such file or directory 131 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_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:14716: result: no configure:14716: checking sys/vmmac.h presence configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:98:10: fatal error: sys/vmmac.h: No such file or directory 98 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | /* end confdefs.h. */ | #include configure:14716: result: no configure:14716: checking for sys/vmmac.h configure:14716: result: no configure:14716: checking sys/vmmeter.h usability configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:131:10: fatal error: sys/vmmeter.h: No such file or directory 131 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_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:14716: result: no configure:14716: checking sys/vmmeter.h presence configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:98:10: fatal error: sys/vmmeter.h: No such file or directory 98 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | /* end confdefs.h. */ | #include configure:14716: result: no configure:14716: checking for sys/vmmeter.h configure:14716: result: no configure:14716: checking sys/vmparam.h usability configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:131:10: fatal error: sys/vmparam.h: No such file or directory 131 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_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:14716: result: no configure:14716: checking sys/vmparam.h presence configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:98:10: fatal error: sys/vmparam.h: No such file or directory 98 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | /* end confdefs.h. */ | #include configure:14716: result: no configure:14716: checking for sys/vmparam.h configure:14716: result: no configure:14716: checking sys/vmsystm.h usability configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:131:10: fatal error: sys/vmsystm.h: No such file or directory 131 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_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:14716: result: no configure:14716: checking sys/vmsystm.h presence configure:14716: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:98:10: fatal error: sys/vmsystm.h: No such file or directory 98 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:14716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | /* end confdefs.h. */ | #include configure:14716: result: no configure:14716: checking for sys/vmsystm.h configure:14716: result: no configure:14730: checking asm/page.h usability configure:14730: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:131:10: fatal error: asm/page.h: No such file or directory 131 | #include | ^~~~~~~~~~~~ compilation terminated. configure:14730: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_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:14730: result: no configure:14730: checking asm/page.h presence configure:14730: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:98:10: fatal error: asm/page.h: No such file or directory 98 | #include | ^~~~~~~~~~~~ compilation terminated. configure:14730: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | /* end confdefs.h. */ | #include configure:14730: result: no configure:14730: checking for asm/page.h configure:14730: result: no configure:14730: checking asm/types.h usability configure:14730: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14730: $? = 0 configure:14730: result: yes configure:14730: checking asm/types.h presence configure:14730: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14730: $? = 0 configure:14730: result: yes configure:14730: checking for asm/types.h configure:14730: result: yes configure:14730: checking inet/mib2.h usability configure:14730: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:132:10: fatal error: inet/mib2.h: No such file or directory 132 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:14730: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:14730: result: no configure:14730: checking inet/mib2.h presence configure:14730: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:99:10: fatal error: inet/mib2.h: No such file or directory 99 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:14730: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | /* end confdefs.h. */ | #include configure:14730: result: no configure:14730: checking for inet/mib2.h configure:14730: result: no configure:14730: checking linux/hdreg.h usability configure:14730: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14730: $? = 0 configure:14730: result: yes configure:14730: checking linux/hdreg.h presence configure:14730: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14730: $? = 0 configure:14730: result: yes configure:14730: checking for linux/hdreg.h configure:14730: result: yes configure:14730: checking linux/tasks.h usability configure:14730: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:133:10: fatal error: linux/tasks.h: No such file or directory 133 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:14730: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_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:14730: result: no configure:14730: checking linux/tasks.h presence configure:14730: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:100:10: fatal error: linux/tasks.h: No such file or directory 100 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:14730: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | /* end confdefs.h. */ | #include configure:14730: result: no configure:14730: checking for linux/tasks.h configure:14730: result: no configure:14730: checking machine/param.h usability configure:14730: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:133:10: fatal error: machine/param.h: No such file or directory 133 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:14730: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_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:14730: result: no configure:14730: checking machine/param.h presence configure:14730: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:100:10: fatal error: machine/param.h: No such file or directory 100 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:14730: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | /* end confdefs.h. */ | #include configure:14730: result: no configure:14730: checking for machine/param.h configure:14730: result: no configure:14730: checking ufs/fs.h usability configure:14730: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:133:10: fatal error: ufs/fs.h: No such file or directory 133 | #include | ^~~~~~~~~~ compilation terminated. configure:14730: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_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:14730: result: no configure:14730: checking ufs/fs.h presence configure:14730: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:100:10: fatal error: ufs/fs.h: No such file or directory 100 | #include | ^~~~~~~~~~ compilation terminated. configure:14730: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | /* end confdefs.h. */ | #include configure:14730: result: no configure:14730: checking for ufs/fs.h configure:14730: result: no configure:14730: checking uvm/uvm_extern.h usability configure:14730: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:133:10: fatal error: uvm/uvm_extern.h: No such file or directory 133 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:14730: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_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:14730: result: no configure:14730: checking uvm/uvm_extern.h presence configure:14730: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:100:10: fatal error: uvm/uvm_extern.h: No such file or directory 100 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:14730: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | /* end confdefs.h. */ | #include configure:14730: result: no configure:14730: checking for uvm/uvm_extern.h configure:14730: result: no configure:14730: checking uvm/uvm_param.h usability configure:14730: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:133:10: fatal error: uvm/uvm_param.h: No such file or directory 133 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:14730: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_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:14730: result: no configure:14730: checking uvm/uvm_param.h presence configure:14730: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:100:10: fatal error: uvm/uvm_param.h: No such file or directory 100 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:14730: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | /* end confdefs.h. */ | #include configure:14730: result: no configure:14730: checking for uvm/uvm_param.h configure:14730: result: no configure:14730: checking vm/vm.h usability configure:14730: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:133:10: fatal error: vm/vm.h: No such file or directory 133 | #include | ^~~~~~~~~ compilation terminated. configure:14730: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_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:14730: result: no configure:14730: checking vm/vm.h presence configure:14730: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:100:10: fatal error: vm/vm.h: No such file or directory 100 | #include | ^~~~~~~~~ compilation terminated. configure:14730: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | /* end confdefs.h. */ | #include configure:14730: result: no configure:14730: checking for vm/vm.h configure:14730: result: no configure:14730: checking vm/vm_extern.h usability configure:14730: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:133:10: fatal error: vm/vm_extern.h: No such file or directory 133 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:14730: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_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:14730: result: no configure:14730: checking vm/vm_extern.h presence configure:14730: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:100:10: fatal error: vm/vm_extern.h: No such file or directory 100 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:14730: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | /* end confdefs.h. */ | #include configure:14730: result: no configure:14730: checking for vm/vm_extern.h configure:14730: result: no configure:14730: checking vm/vm_param.h usability configure:14730: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:133:10: fatal error: vm/vm_param.h: No such file or directory 133 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:14730: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_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:14730: result: no configure:14730: checking vm/vm_param.h presence configure:14730: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:100:10: fatal error: vm/vm_param.h: No such file or directory 100 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:14730: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | /* end confdefs.h. */ | #include configure:14730: result: no configure:14730: checking for vm/vm_param.h configure:14730: result: no configure:14745: checking for fcntl.h configure:14745: result: yes configure:14745: checking for grp.h configure:14745: result: yes configure:14745: checking for pwd.h configure:14745: result: yes configure:14745: checking sys/cdefs.h usability configure:14745: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14745: $? = 0 configure:14745: result: yes configure:14745: checking sys/cdefs.h presence configure:14745: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14745: $? = 0 configure:14745: result: yes configure:14745: checking for sys/cdefs.h configure:14745: result: yes configure:14745: checking for sys/ioctl.h configure:14745: result: yes configure:14745: checking for sys/time.h configure:14745: result: yes configure:14760: checking search.h usability configure:14760: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14760: $? = 0 configure:14760: result: yes configure:14760: checking search.h presence configure:14760: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14760: $? = 0 configure:14760: result: yes configure:14760: checking for search.h configure:14760: result: yes configure:14760: checking sgtty.h usability configure:14760: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 In file included from conftest.c:140: /tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/sgtty.h:21:2: warning: #warning useless header on uClibc [-Wcpp] 21 | #warning useless header on uClibc | ^~~~~~~ configure:14760: $? = 0 configure:14760: result: yes configure:14760: checking sgtty.h presence configure:14760: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c In file included from conftest.c:107: /tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/sgtty.h:21:2: warning: #warning useless header on uClibc [-Wcpp] 21 | #warning useless header on uClibc | ^~~~~~~ configure:14760: $? = 0 configure:14760: result: yes configure:14760: checking for sgtty.h configure:14760: result: yes configure:14760: checking xti.h usability configure:14760: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:141:10: fatal error: xti.h: No such file or directory 141 | #include | ^~~~~~~ compilation terminated. configure:14760: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_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:14760: result: no configure:14760: checking xti.h presence configure:14760: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:108:10: fatal error: xti.h: No such file or directory 108 | #include | ^~~~~~~ compilation terminated. configure:14760: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | /* end confdefs.h. */ | #include configure:14760: result: no configure:14760: checking for xti.h configure:14760: result: no configure:14760: checking sys/dmap.h usability configure:14760: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:141:10: fatal error: sys/dmap.h: No such file or directory 141 | #include | ^~~~~~~~~~~~ compilation terminated. configure:14760: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_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:14760: result: no configure:14760: checking sys/dmap.h presence configure:14760: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:108:10: fatal error: sys/dmap.h: No such file or directory 108 | #include | ^~~~~~~~~~~~ compilation terminated. configure:14760: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | /* end confdefs.h. */ | #include configure:14760: result: no configure:14760: checking for sys/dmap.h configure:14760: result: no configure:14760: checking sys/poll.h usability configure:14760: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14760: $? = 0 configure:14760: result: yes configure:14760: checking sys/poll.h presence configure:14760: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14760: $? = 0 configure:14760: result: yes configure:14760: checking for sys/poll.h configure:14760: result: yes configure:14760: checking sys/timeout.h usability configure:14760: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:142:10: fatal error: sys/timeout.h: No such file or directory 142 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:14760: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:14760: result: no configure:14760: checking sys/timeout.h presence configure:14760: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:109:10: fatal error: sys/timeout.h: No such file or directory 109 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:14760: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | /* end confdefs.h. */ | #include configure:14760: result: no configure:14760: checking for sys/timeout.h configure:14760: result: no configure:14760: checking machine/pte.h usability configure:14760: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:142:10: fatal error: machine/pte.h: No such file or directory 142 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:14760: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:14760: result: no configure:14760: checking machine/pte.h presence configure:14760: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:109:10: fatal error: machine/pte.h: No such file or directory 109 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:14760: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | /* end confdefs.h. */ | #include configure:14760: result: no configure:14760: checking for machine/pte.h configure:14760: result: no configure:14760: checking pci/pci.h usability configure:14760: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14760: $? = 0 configure:14760: result: yes configure:14760: checking pci/pci.h presence configure:14760: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14760: $? = 0 configure:14760: result: yes configure:14760: checking for pci/pci.h configure:14760: result: yes configure:14776: checking valgrind/valgrind.h usability configure:14776: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:143:10: fatal error: valgrind/valgrind.h: No such file or directory 143 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:14776: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_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:14776: result: no configure:14776: checking valgrind/valgrind.h presence configure:14776: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:110:10: fatal error: valgrind/valgrind.h: No such file or directory 110 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:14776: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | /* end confdefs.h. */ | #include configure:14776: result: no configure:14776: checking for valgrind/valgrind.h configure:14776: result: no configure:14776: checking valgrind/memcheck.h usability configure:14776: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:143:10: fatal error: valgrind/memcheck.h: No such file or directory 143 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:14776: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_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:14776: result: no configure:14776: checking valgrind/memcheck.h presence configure:14776: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:110:10: fatal error: valgrind/memcheck.h: No such file or directory 110 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:14776: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | /* end confdefs.h. */ | #include configure:14776: result: no configure:14776: checking for valgrind/memcheck.h configure:14776: result: no configure:14790: checking for openssl/aes.h configure:14790: result: yes configure:14803: checking openssl/dh.h usability configure:14803: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14803: $? = 0 configure:14803: result: yes configure:14803: checking openssl/dh.h presence configure:14803: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14803: $? = 0 configure:14803: result: yes configure:14803: checking for openssl/dh.h configure:14803: result: yes configure:14817: checking openssl/des.h usability configure:14817: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14817: $? = 0 configure:14817: result: yes configure:14817: checking openssl/des.h presence configure:14817: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14817: $? = 0 configure:14817: result: yes configure:14817: checking for openssl/des.h configure:14817: result: yes configure:14817: checking openssl/hmac.h usability configure:14817: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14817: $? = 0 configure:14817: result: yes configure:14817: checking openssl/hmac.h presence configure:14817: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:14817: $? = 0 configure:14817: result: yes configure:14817: checking for openssl/hmac.h configure:14817: result: yes configure:14817: checking for openssl/evp.h configure:14817: result: yes configure:14817: checking security/cryptoki.h usability configure:14817: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:148:10: fatal error: security/cryptoki.h: No such file or directory 148 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:14817: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_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:14817: result: no configure:14817: checking security/cryptoki.h presence configure:14817: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:115:10: fatal error: security/cryptoki.h: No such file or directory 115 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:14817: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | /* end confdefs.h. */ | #include configure:14817: result: no configure:14817: checking for security/cryptoki.h configure:14817: result: no configure:14856: checking for sys/swap.h configure:14856: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14856: $? = 0 configure:14856: result: yes configure:14878: checking for malloc.h configure:14878: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14878: $? = 0 configure:14878: result: yes configure:14878: checking for osreldate.h configure:14878: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:126:10: fatal error: osreldate.h: No such file or directory 126 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:14878: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_SYS_PARAM_H | #include | #endif | | | #include configure:14878: result: no configure:14878: checking for machine/types.h configure:14878: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:126:10: fatal error: machine/types.h: No such file or directory 126 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:14878: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_SYS_PARAM_H | #include | #endif | | | #include configure:14878: result: no configure:14878: checking for sys/dkstat.h configure:14878: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:126:10: fatal error: sys/dkstat.h: No such file or directory 126 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:14878: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_SYS_PARAM_H | #include | #endif | | | #include configure:14878: result: no configure:14878: checking for sys/conf.h configure:14878: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:126:10: fatal error: sys/conf.h: No such file or directory 126 | #include | ^~~~~~~~~~~~ compilation terminated. configure:14878: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_SYS_PARAM_H | #include | #endif | | | #include configure:14878: result: no configure:14878: checking for sys/mbuf.h configure:14878: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:126:10: fatal error: sys/mbuf.h: No such file or directory 126 | #include | ^~~~~~~~~~~~ compilation terminated. configure:14878: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_SYS_PARAM_H | #include | #endif | | | #include configure:14878: result: no configure:14878: checking for sys/mount.h configure:14878: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14878: $? = 0 configure:14878: result: yes configure:14878: checking for sys/proc.h configure:14878: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:127:10: fatal error: sys/proc.h: No such file or directory 127 | #include | ^~~~~~~~~~~~ compilation terminated. configure:14878: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_SYS_PARAM_H | #include | #endif | | | #include configure:14878: result: no configure:14878: checking for sys/queue.h configure:14878: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14878: $? = 0 configure:14878: result: yes configure:14878: checking for sys/user.h configure:14878: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:14878: $? = 0 configure:14878: result: yes configure:14924: checking sys/sema.h usability configure:14924: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:10: fatal error: sys/sema.h: No such file or directory 153 | #include | ^~~~~~~~~~~~ compilation terminated. configure:14924: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_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:14924: result: no configure:14924: checking sys/sema.h presence configure:14924: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:120:10: fatal error: sys/sema.h: No such file or directory 120 | #include | ^~~~~~~~~~~~ compilation terminated. configure:14924: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | /* end confdefs.h. */ | #include configure:14924: result: no configure:14924: checking for sys/sema.h configure:14924: result: no configure:14936: checking for sys/hashing.h configure:14936: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:159:10: fatal error: sys/hashing.h: No such file or directory 159 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:14936: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_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 | | #if HAVE_SYS_SEMA_H | #include | #endif | | | #include configure:14936: result: no configure:14958: checking for sys/vnode.h configure:14958: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:127:10: fatal error: sys/vnode.h: No such file or directory 127 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:14958: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | /* end confdefs.h. */ | | #define _KMEMUSER 1 | #if HAVE_SYS_TYPES_H | #include | #endif | | | #include configure:14958: result: no configure:14980: checking for sys/disklabel.h configure:14980: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:132:10: fatal error: sys/disklabel.h: No such file or directory 132 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:14980: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_SYS_PARAM_H | #include | #endif | #if HAVE_MACHINE_TYPES_H | #include | #endif | | | #include configure:14980: result: no configure:15005: checking nbutil.h usability configure:15005: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:153:10: fatal error: nbutil.h: No such file or directory 153 | #include | ^~~~~~~~~~ compilation terminated. configure:15005: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_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:15005: result: no configure:15005: checking nbutil.h presence configure:15005: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:120:10: fatal error: nbutil.h: No such file or directory 120 | #include | ^~~~~~~~~~ compilation terminated. configure:15005: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | /* end confdefs.h. */ | #include configure:15005: result: no configure:15005: checking for nbutil.h configure:15005: result: no configure:15022: checking for ufs/ufs/dinode.h configure:15022: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:132:10: fatal error: ufs/ufs/dinode.h: No such file or directory 132 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:15022: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_UFS_UFS_DINODE_H | #include | #endif | #if HAVE_UFS_UFS_QUOTA_H | #include | #endif | | | #include configure:15022: result: no configure:15022: checking for ufs/ufs/quota.h configure:15022: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:132:10: fatal error: ufs/ufs/quota.h: No such file or directory 132 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:15022: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_UFS_UFS_DINODE_H | #include | #endif | #if HAVE_UFS_UFS_QUOTA_H | #include | #endif | | | #include configure:15022: result: no configure:15022: checking for ufs/ufs/inode.h configure:15022: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:132:10: fatal error: ufs/ufs/inode.h: No such file or directory 132 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:15022: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_UFS_UFS_DINODE_H | #include | #endif | #if HAVE_UFS_UFS_QUOTA_H | #include | #endif | | | #include configure:15022: result: no configure:15022: checking for ufs/ffs/fs.h configure:15022: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:132:10: fatal error: ufs/ffs/fs.h: No such file or directory 132 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:15022: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_UFS_UFS_DINODE_H | #include | #endif | #if HAVE_UFS_UFS_QUOTA_H | #include | #endif | | | #include configure:15022: result: no configure:15049: checking for vm/swap_pager.h configure:15049: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:126:10: fatal error: vm/swap_pager.h: No such file or directory 126 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:15049: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | /* end confdefs.h. */ | | #if HAVE_VM_VM_H | #include | #endif | | | #include configure:15049: result: no configure:15071: checking for linux/netlink.h configure:15071: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15071: $? = 0 configure:15071: result: yes configure:15071: checking for linux/rtnetlink.h configure:15071: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15071: $? = 0 configure:15071: result: yes configure:15107: checking for sys/socket.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15107: $? = 0 configure:15107: result: yes configure:15107: checking for sys/un.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15107: $? = 0 configure:15107: result: yes configure:15107: checking for netinet/tcp_fsm.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:184:10: fatal error: netinet/tcp_fsm.h: No such file or directory 184 | #include | ^~~~~~~~~~~~~~~~~~~ compilation terminated. configure:15107: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_PARAM_H | #include | #endif | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_SYS_TIMEOUT_H | #include | #endif | #if HAVE_SYS_SOCKET_H | #include | #endif | #if HAVE_SYS_SOCKETVAR_H | #include | #endif | #if HAVE_ARPA_INET_H | #include | #endif | #if HAVE_NETINET_IN_SYSTM_H | #include | #endif | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NET_IF_H | #include | #endif | #if HAVE_NET_IF_VAR_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_IP_ICMP_H | #include | #endif | #if HAVE_NETINET_TCP_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_TCP_TIMER_H | #include | #endif | #if HAVE_NETINET_IP6_H | #include | #endif | #if HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:15107: result: no configure:15107: checking for sys/sockio.h configure:15107: result: no configure:15107: checking for sys/socketvar.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15107: $? = 0 configure:15107: result: yes configure:15107: checking for net/if_dl.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:185:10: fatal error: net/if_dl.h: No such file or directory 185 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:15107: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_PARAM_H | #include | #endif | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_SYS_TIMEOUT_H | #include | #endif | #if HAVE_SYS_SOCKET_H | #include | #endif | #if HAVE_SYS_SOCKETVAR_H | #include | #endif | #if HAVE_ARPA_INET_H | #include | #endif | #if HAVE_NETINET_IN_SYSTM_H | #include | #endif | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NET_IF_H | #include | #endif | #if HAVE_NET_IF_VAR_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_IP_ICMP_H | #include | #endif | #if HAVE_NETINET_TCP_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_TCP_TIMER_H | #include | #endif | #if HAVE_NETINET_IP6_H | #include | #endif | #if HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:15107: result: no configure:15107: checking for net/if_types.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:185:10: fatal error: net/if_types.h: No such file or directory 185 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:15107: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_PARAM_H | #include | #endif | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_SYS_TIMEOUT_H | #include | #endif | #if HAVE_SYS_SOCKET_H | #include | #endif | #if HAVE_SYS_SOCKETVAR_H | #include | #endif | #if HAVE_ARPA_INET_H | #include | #endif | #if HAVE_NETINET_IN_SYSTM_H | #include | #endif | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NET_IF_H | #include | #endif | #if HAVE_NET_IF_VAR_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_IP_ICMP_H | #include | #endif | #if HAVE_NETINET_TCP_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_TCP_TIMER_H | #include | #endif | #if HAVE_NETINET_IP6_H | #include | #endif | #if HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:15107: result: no configure:15107: checking for arpa/inet.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15107: $? = 0 configure:15107: result: yes configure:15107: checking for net/if.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15107: $? = 0 configure:15107: result: yes configure:15107: checking for netinet/in.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15107: $? = 0 configure:15107: result: yes configure:15107: checking for netdb.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15107: $? = 0 configure:15107: result: yes configure:15107: checking for net/if_arp.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15107: $? = 0 configure:15107: result: yes configure:15107: checking for net/if_mib.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:190:10: fatal error: net/if_mib.h: No such file or directory 190 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:15107: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_PARAM_H | #include | #endif | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_SYS_TIMEOUT_H | #include | #endif | #if HAVE_SYS_SOCKET_H | #include | #endif | #if HAVE_SYS_SOCKETVAR_H | #include | #endif | #if HAVE_ARPA_INET_H | #include | #endif | #if HAVE_NETINET_IN_SYSTM_H | #include | #endif | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NET_IF_H | #include | #endif | #if HAVE_NET_IF_VAR_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_IP_ICMP_H | #include | #endif | #if HAVE_NETINET_TCP_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_TCP_TIMER_H | #include | #endif | #if HAVE_NETINET_IP6_H | #include | #endif | #if HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:15107: result: no configure:15107: checking for net/if_var.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:190:10: fatal error: net/if_var.h: No such file or directory 190 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:15107: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_PARAM_H | #include | #endif | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_SYS_TIMEOUT_H | #include | #endif | #if HAVE_SYS_SOCKET_H | #include | #endif | #if HAVE_SYS_SOCKETVAR_H | #include | #endif | #if HAVE_ARPA_INET_H | #include | #endif | #if HAVE_NETINET_IN_SYSTM_H | #include | #endif | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NET_IF_H | #include | #endif | #if HAVE_NET_IF_VAR_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_IP_ICMP_H | #include | #endif | #if HAVE_NETINET_TCP_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_TCP_TIMER_H | #include | #endif | #if HAVE_NETINET_IP6_H | #include | #endif | #if HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:15107: result: no configure:15107: checking for netinet/if_ether.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15107: $? = 0 configure:15107: result: yes configure:15107: checking for netinet/in_systm.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15107: $? = 0 configure:15107: result: yes configure:15107: checking for netinet/in_var.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:192:10: fatal error: netinet/in_var.h: No such file or directory 192 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:15107: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_PARAM_H | #include | #endif | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_SYS_TIMEOUT_H | #include | #endif | #if HAVE_SYS_SOCKET_H | #include | #endif | #if HAVE_SYS_SOCKETVAR_H | #include | #endif | #if HAVE_ARPA_INET_H | #include | #endif | #if HAVE_NETINET_IN_SYSTM_H | #include | #endif | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NET_IF_H | #include | #endif | #if HAVE_NET_IF_VAR_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_IP_ICMP_H | #include | #endif | #if HAVE_NETINET_TCP_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_TCP_TIMER_H | #include | #endif | #if HAVE_NETINET_IP6_H | #include | #endif | #if HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:15107: result: no configure:15107: checking for netinet/ip.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15107: $? = 0 configure:15107: result: yes configure:15107: checking for netinet/ip_icmp.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15107: $? = 0 configure:15107: result: yes configure:15107: checking for netinet/icmp_var.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:194:10: fatal error: netinet/icmp_var.h: No such file or directory 194 | #include | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:15107: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_PARAM_H | #include | #endif | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_SYS_TIMEOUT_H | #include | #endif | #if HAVE_SYS_SOCKET_H | #include | #endif | #if HAVE_SYS_SOCKETVAR_H | #include | #endif | #if HAVE_ARPA_INET_H | #include | #endif | #if HAVE_NETINET_IN_SYSTM_H | #include | #endif | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NET_IF_H | #include | #endif | #if HAVE_NET_IF_VAR_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_IP_ICMP_H | #include | #endif | #if HAVE_NETINET_TCP_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_TCP_TIMER_H | #include | #endif | #if HAVE_NETINET_IP6_H | #include | #endif | #if HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:15107: result: no configure:15107: checking for netinet/ip_var.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:194:10: fatal error: netinet/ip_var.h: No such file or directory 194 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:15107: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_PARAM_H | #include | #endif | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_SYS_TIMEOUT_H | #include | #endif | #if HAVE_SYS_SOCKET_H | #include | #endif | #if HAVE_SYS_SOCKETVAR_H | #include | #endif | #if HAVE_ARPA_INET_H | #include | #endif | #if HAVE_NETINET_IN_SYSTM_H | #include | #endif | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NET_IF_H | #include | #endif | #if HAVE_NET_IF_VAR_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_IP_ICMP_H | #include | #endif | #if HAVE_NETINET_TCP_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_TCP_TIMER_H | #include | #endif | #if HAVE_NETINET_IP6_H | #include | #endif | #if HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:15107: result: no configure:15107: checking for netinet/tcp.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15107: $? = 0 configure:15107: result: yes configure:15107: checking for netinet/tcp_timer.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:195:10: fatal error: netinet/tcp_timer.h: No such file or directory 195 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:15107: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_PARAM_H | #include | #endif | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_SYS_TIMEOUT_H | #include | #endif | #if HAVE_SYS_SOCKET_H | #include | #endif | #if HAVE_SYS_SOCKETVAR_H | #include | #endif | #if HAVE_ARPA_INET_H | #include | #endif | #if HAVE_NETINET_IN_SYSTM_H | #include | #endif | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NET_IF_H | #include | #endif | #if HAVE_NET_IF_VAR_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_IP_ICMP_H | #include | #endif | #if HAVE_NETINET_TCP_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_TCP_TIMER_H | #include | #endif | #if HAVE_NETINET_IP6_H | #include | #endif | #if HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:15107: result: no configure:15107: checking for netinet/tcp_var.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:195:10: fatal error: netinet/tcp_var.h: No such file or directory 195 | #include | ^~~~~~~~~~~~~~~~~~~ compilation terminated. configure:15107: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_PARAM_H | #include | #endif | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_SYS_TIMEOUT_H | #include | #endif | #if HAVE_SYS_SOCKET_H | #include | #endif | #if HAVE_SYS_SOCKETVAR_H | #include | #endif | #if HAVE_ARPA_INET_H | #include | #endif | #if HAVE_NETINET_IN_SYSTM_H | #include | #endif | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NET_IF_H | #include | #endif | #if HAVE_NET_IF_VAR_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_IP_ICMP_H | #include | #endif | #if HAVE_NETINET_TCP_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_TCP_TIMER_H | #include | #endif | #if HAVE_NETINET_IP6_H | #include | #endif | #if HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:15107: result: no configure:15107: checking for netinet/tcpip.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:195:10: fatal error: netinet/tcpip.h: No such file or directory 195 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:15107: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_PARAM_H | #include | #endif | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_SYS_TIMEOUT_H | #include | #endif | #if HAVE_SYS_SOCKET_H | #include | #endif | #if HAVE_SYS_SOCKETVAR_H | #include | #endif | #if HAVE_ARPA_INET_H | #include | #endif | #if HAVE_NETINET_IN_SYSTM_H | #include | #endif | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NET_IF_H | #include | #endif | #if HAVE_NET_IF_VAR_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_IP_ICMP_H | #include | #endif | #if HAVE_NETINET_TCP_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_TCP_TIMER_H | #include | #endif | #if HAVE_NETINET_IP6_H | #include | #endif | #if HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:15107: result: no configure:15107: checking for netinet/udp.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15107: $? = 0 configure:15107: result: yes configure:15107: checking for netinet/udp_var.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:196:10: fatal error: netinet/udp_var.h: No such file or directory 196 | #include | ^~~~~~~~~~~~~~~~~~~ compilation terminated. configure:15107: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_PARAM_H | #include | #endif | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_SYS_TIMEOUT_H | #include | #endif | #if HAVE_SYS_SOCKET_H | #include | #endif | #if HAVE_SYS_SOCKETVAR_H | #include | #endif | #if HAVE_ARPA_INET_H | #include | #endif | #if HAVE_NETINET_IN_SYSTM_H | #include | #endif | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NET_IF_H | #include | #endif | #if HAVE_NET_IF_VAR_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_IP_ICMP_H | #include | #endif | #if HAVE_NETINET_TCP_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_TCP_TIMER_H | #include | #endif | #if HAVE_NETINET_IP6_H | #include | #endif | #if HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:15107: result: no configure:15107: checking for net/route.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15107: $? = 0 configure:15107: result: yes configure:15107: checking for netinet/icmp6.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15107: $? = 0 configure:15107: result: yes configure:15107: checking for netinet/in_pcb.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:198:10: fatal error: netinet/in_pcb.h: No such file or directory 198 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:15107: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_PARAM_H | #include | #endif | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_SYS_TIMEOUT_H | #include | #endif | #if HAVE_SYS_SOCKET_H | #include | #endif | #if HAVE_SYS_SOCKETVAR_H | #include | #endif | #if HAVE_ARPA_INET_H | #include | #endif | #if HAVE_NETINET_IN_SYSTM_H | #include | #endif | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NET_IF_H | #include | #endif | #if HAVE_NET_IF_VAR_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_IP_ICMP_H | #include | #endif | #if HAVE_NETINET_TCP_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_TCP_TIMER_H | #include | #endif | #if HAVE_NETINET_IP6_H | #include | #endif | #if HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:15107: result: no configure:15107: checking for netinet/ip6.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15107: $? = 0 configure:15107: result: yes configure:15107: checking for netinet6/in6_var.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:199:10: fatal error: netinet6/in6_var.h: No such file or directory 199 | #include | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:15107: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_PARAM_H | #include | #endif | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_SYS_TIMEOUT_H | #include | #endif | #if HAVE_SYS_SOCKET_H | #include | #endif | #if HAVE_SYS_SOCKETVAR_H | #include | #endif | #if HAVE_ARPA_INET_H | #include | #endif | #if HAVE_NETINET_IN_SYSTM_H | #include | #endif | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NET_IF_H | #include | #endif | #if HAVE_NET_IF_VAR_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_IP_ICMP_H | #include | #endif | #if HAVE_NETINET_TCP_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_TCP_TIMER_H | #include | #endif | #if HAVE_NETINET_IP6_H | #include | #endif | #if HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:15107: result: no configure:15107: checking for netinet6/in6_pcb.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:199:10: fatal error: netinet6/in6_pcb.h: No such file or directory 199 | #include | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:15107: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_PARAM_H | #include | #endif | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_SYS_TIMEOUT_H | #include | #endif | #if HAVE_SYS_SOCKET_H | #include | #endif | #if HAVE_SYS_SOCKETVAR_H | #include | #endif | #if HAVE_ARPA_INET_H | #include | #endif | #if HAVE_NETINET_IN_SYSTM_H | #include | #endif | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NET_IF_H | #include | #endif | #if HAVE_NET_IF_VAR_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_IP_ICMP_H | #include | #endif | #if HAVE_NETINET_TCP_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_TCP_TIMER_H | #include | #endif | #if HAVE_NETINET_IP6_H | #include | #endif | #if HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:15107: result: no configure:15107: checking for netinet6/ip6_var.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:199:10: fatal error: netinet6/ip6_var.h: No such file or directory 199 | #include | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:15107: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_PARAM_H | #include | #endif | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_SYS_TIMEOUT_H | #include | #endif | #if HAVE_SYS_SOCKET_H | #include | #endif | #if HAVE_SYS_SOCKETVAR_H | #include | #endif | #if HAVE_ARPA_INET_H | #include | #endif | #if HAVE_NETINET_IN_SYSTM_H | #include | #endif | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NET_IF_H | #include | #endif | #if HAVE_NET_IF_VAR_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_IP_ICMP_H | #include | #endif | #if HAVE_NETINET_TCP_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_TCP_TIMER_H | #include | #endif | #if HAVE_NETINET_IP6_H | #include | #endif | #if HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:15107: result: no configure:15107: checking for netinet6/nd6.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:199:10: fatal error: netinet6/nd6.h: No such file or directory 199 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:15107: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_PARAM_H | #include | #endif | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_SYS_TIMEOUT_H | #include | #endif | #if HAVE_SYS_SOCKET_H | #include | #endif | #if HAVE_SYS_SOCKETVAR_H | #include | #endif | #if HAVE_ARPA_INET_H | #include | #endif | #if HAVE_NETINET_IN_SYSTM_H | #include | #endif | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NET_IF_H | #include | #endif | #if HAVE_NET_IF_VAR_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_IP_ICMP_H | #include | #endif | #if HAVE_NETINET_TCP_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_TCP_TIMER_H | #include | #endif | #if HAVE_NETINET_IP6_H | #include | #endif | #if HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:15107: result: no configure:15107: checking for netinet6/tcp6.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:199:10: fatal error: netinet6/tcp6.h: No such file or directory 199 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. configure:15107: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_PARAM_H | #include | #endif | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_SYS_TIMEOUT_H | #include | #endif | #if HAVE_SYS_SOCKET_H | #include | #endif | #if HAVE_SYS_SOCKETVAR_H | #include | #endif | #if HAVE_ARPA_INET_H | #include | #endif | #if HAVE_NETINET_IN_SYSTM_H | #include | #endif | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NET_IF_H | #include | #endif | #if HAVE_NET_IF_VAR_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_IP_ICMP_H | #include | #endif | #if HAVE_NETINET_TCP_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_TCP_TIMER_H | #include | #endif | #if HAVE_NETINET_IP6_H | #include | #endif | #if HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:15107: result: no configure:15107: checking for netinet6/tcp6_fsm.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:199:10: fatal error: netinet6/tcp6_fsm.h: No such file or directory 199 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:15107: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_PARAM_H | #include | #endif | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_SYS_TIMEOUT_H | #include | #endif | #if HAVE_SYS_SOCKET_H | #include | #endif | #if HAVE_SYS_SOCKETVAR_H | #include | #endif | #if HAVE_ARPA_INET_H | #include | #endif | #if HAVE_NETINET_IN_SYSTM_H | #include | #endif | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NET_IF_H | #include | #endif | #if HAVE_NET_IF_VAR_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_IP_ICMP_H | #include | #endif | #if HAVE_NETINET_TCP_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_TCP_TIMER_H | #include | #endif | #if HAVE_NETINET_IP6_H | #include | #endif | #if HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:15107: result: no configure:15107: checking for netinet6/tcp6_timer.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:199:10: fatal error: netinet6/tcp6_timer.h: No such file or directory 199 | #include | ^~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:15107: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_PARAM_H | #include | #endif | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_SYS_TIMEOUT_H | #include | #endif | #if HAVE_SYS_SOCKET_H | #include | #endif | #if HAVE_SYS_SOCKETVAR_H | #include | #endif | #if HAVE_ARPA_INET_H | #include | #endif | #if HAVE_NETINET_IN_SYSTM_H | #include | #endif | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NET_IF_H | #include | #endif | #if HAVE_NET_IF_VAR_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_IP_ICMP_H | #include | #endif | #if HAVE_NETINET_TCP_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_TCP_TIMER_H | #include | #endif | #if HAVE_NETINET_IP6_H | #include | #endif | #if HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:15107: result: no configure:15107: checking for netinet6/tcp6_var.h configure:15107: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:199:10: fatal error: netinet6/tcp6_var.h: No such file or directory 199 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:15107: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | /* end confdefs.h. */ | | #if HAVE_SYS_PARAM_H | #include | #endif | #if HAVE_SYS_TYPES_H | #include | #endif | #if HAVE_SYS_TIMEOUT_H | #include | #endif | #if HAVE_SYS_SOCKET_H | #include | #endif | #if HAVE_SYS_SOCKETVAR_H | #include | #endif | #if HAVE_ARPA_INET_H | #include | #endif | #if HAVE_NETINET_IN_SYSTM_H | #include | #endif | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NETINET_IP_H | #include | #endif | #if HAVE_NET_IF_H | #include | #endif | #if HAVE_NET_IF_VAR_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_IP_ICMP_H | #include | #endif | #if HAVE_NETINET_TCP_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_TCP_TIMER_H | #include | #endif | #if HAVE_NETINET_IP6_H | #include | #endif | #if HAVE_NETINET_ICMP6_H | #include | #endif | | | #include configure:15107: result: no configure:15198: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15198: $? = 0 configure:15201: checking linux/ethtool.h usability configure:15201: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15201: $? = 0 configure:15201: result: yes configure:15201: checking linux/ethtool.h presence configure:15201: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:15201: $? = 0 configure:15201: result: yes configure:15201: checking for linux/ethtool.h configure:15201: result: yes configure:15246: checking pkginfo.h usability configure:15246: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:173:10: fatal error: pkginfo.h: No such file or directory 173 | #include | ^~~~~~~~~~~ compilation terminated. configure:15246: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_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:15246: result: no configure:15246: checking pkginfo.h presence configure:15246: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:140:10: fatal error: pkginfo.h: No such file or directory 140 | #include | ^~~~~~~~~~~ compilation terminated. configure:15246: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | /* end confdefs.h. */ | #include configure:15246: result: no configure:15246: checking for pkginfo.h configure:15246: result: no configure:15335: checking pkg.h usability configure:15335: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:173:10: fatal error: pkg.h: No such file or directory 173 | #include | ^~~~~~~ compilation terminated. configure:15335: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_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:15335: result: no configure:15335: checking pkg.h presence configure:15335: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:140:10: fatal error: pkg.h: No such file or directory 140 | #include | ^~~~~~~ compilation terminated. configure:15335: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | /* end confdefs.h. */ | #include configure:15335: result: no configure:15335: checking for pkg.h configure:15335: result: no configure:15431: checking pkg.h usability configure:15431: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include conftest.c >&5 riscv64-buildroot-linux-uclibc-gcc: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/local/include' configure:15431: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_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:15431: result: no configure:15431: checking pkg.h presence configure:15431: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include conftest.c riscv64-buildroot-linux-uclibc-cpp: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/local/include' configure:15431: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | /* end confdefs.h. */ | #include configure:15431: result: no configure:15431: checking for pkg.h configure:15431: result: no configure:15719: checking for windows.h configure:15719: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:146:10: fatal error: windows.h: No such file or directory 146 | #include | ^~~~~~~~~~~ compilation terminated. configure:15719: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_WINDOWS_H | #include | #endif | | | #include configure:15719: result: no configure:15719: checking for iphlpapi.h configure:15719: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:146:10: fatal error: iphlpapi.h: No such file or directory 146 | #include | ^~~~~~~~~~~~ compilation terminated. configure:15719: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_WINDOWS_H | #include | #endif | | | #include configure:15719: result: no configure:15737: checking for lm.h configure:15737: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:146:10: fatal error: lm.h: No such file or directory 146 | #include | ^~~~~~ compilation terminated. configure:15737: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_WINDOWS_H | #include | #endif | | | #include configure:15737: result: no configure:15779: checking sensors/sensors.h usability configure:15779: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15779: $? = 0 configure:15779: result: yes configure:15779: checking sensors/sensors.h presence configure:15779: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:15779: $? = 0 configure:15779: result: yes configure:15779: checking for sensors/sensors.h configure:15779: result: yes configure:15779: checking picl.h usability configure:15779: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:174:10: fatal error: picl.h: No such file or directory 174 | #include | ^~~~~~~~ compilation terminated. configure:15779: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_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:15779: result: no configure:15779: checking picl.h presence configure:15779: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:141:10: fatal error: picl.h: No such file or directory 141 | #include | ^~~~~~~~ compilation terminated. configure:15779: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | /* end confdefs.h. */ | #include configure:15779: result: no configure:15779: checking for picl.h configure:15779: result: no configure:15800: checking for struct rtentry.rt_dst configure:15800: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:169:5: error: used struct type value where scalar is required 169 | if (ac_aggr.rt_dst) | ^~~~~~~ configure:15800: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #include | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef HAVE_SYS_SOCKET_H | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #include | #undef KERNEL | #undef _KERNEL | #endif | #ifdef HAVE_NET_ROUTE_H | #include | #endif | | | int | main () | { | static struct rtentry ac_aggr; | if (ac_aggr.rt_dst) | return 0; | ; | return 0; | } configure:15800: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15800: $? = 0 configure:15800: result: yes configure:15832: checking for struct rtentry.rt_hash configure:15832: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:170:12: error: 'struct rtentry' has no member named 'rt_hash' 170 | if (ac_aggr.rt_hash) | ^ configure:15832: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #include | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef HAVE_SYS_SOCKET_H | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #include | #undef KERNEL | #undef _KERNEL | #endif | #ifdef HAVE_NET_ROUTE_H | #include | #endif | | | int | main () | { | static struct rtentry ac_aggr; | if (ac_aggr.rt_hash) | return 0; | ; | return 0; | } configure:15832: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:170:19: error: 'struct rtentry' has no member named 'rt_hash' 170 | if (sizeof ac_aggr.rt_hash) | ^ configure:15832: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #include | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef HAVE_SYS_SOCKET_H | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #include | #undef KERNEL | #undef _KERNEL | #endif | #ifdef HAVE_NET_ROUTE_H | #include | #endif | | | int | main () | { | static struct rtentry ac_aggr; | if (sizeof ac_aggr.rt_hash) | return 0; | ; | return 0; | } configure:15832: result: no configure:15864: checking for struct rtentry.rt_next configure:15864: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:170:12: error: 'struct rtentry' has no member named 'rt_next' 170 | if (ac_aggr.rt_next) | ^ configure:15864: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #include | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef HAVE_SYS_SOCKET_H | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #include | #undef KERNEL | #undef _KERNEL | #endif | #ifdef HAVE_NET_ROUTE_H | #include | #endif | | | int | main () | { | static struct rtentry ac_aggr; | if (ac_aggr.rt_next) | return 0; | ; | return 0; | } configure:15864: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:170:19: error: 'struct rtentry' has no member named 'rt_next' 170 | if (sizeof ac_aggr.rt_next) | ^ configure:15864: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #include | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef HAVE_SYS_SOCKET_H | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #include | #undef KERNEL | #undef _KERNEL | #endif | #ifdef HAVE_NET_ROUTE_H | #include | #endif | | | int | main () | { | static struct rtentry ac_aggr; | if (sizeof ac_aggr.rt_next) | return 0; | ; | return 0; | } configure:15864: result: no configure:15896: checking for struct rtentry.rt_refcnt configure:15896: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:170:12: error: 'struct rtentry' has no member named 'rt_refcnt' 170 | if (ac_aggr.rt_refcnt) | ^ configure:15896: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #include | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef HAVE_SYS_SOCKET_H | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #include | #undef KERNEL | #undef _KERNEL | #endif | #ifdef HAVE_NET_ROUTE_H | #include | #endif | | | int | main () | { | static struct rtentry ac_aggr; | if (ac_aggr.rt_refcnt) | return 0; | ; | return 0; | } configure:15896: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:170:19: error: 'struct rtentry' has no member named 'rt_refcnt' 170 | if (sizeof ac_aggr.rt_refcnt) | ^ configure:15896: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #include | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef HAVE_SYS_SOCKET_H | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #include | #undef KERNEL | #undef _KERNEL | #endif | #ifdef HAVE_NET_ROUTE_H | #include | #endif | | | int | main () | { | static struct rtentry ac_aggr; | if (sizeof ac_aggr.rt_refcnt) | return 0; | ; | return 0; | } configure:15896: result: no configure:15928: checking for struct rtentry.rt_unit configure:15928: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:170:12: error: 'struct rtentry' has no member named 'rt_unit' 170 | if (ac_aggr.rt_unit) | ^ configure:15928: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #include | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef HAVE_SYS_SOCKET_H | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #include | #undef KERNEL | #undef _KERNEL | #endif | #ifdef HAVE_NET_ROUTE_H | #include | #endif | | | int | main () | { | static struct rtentry ac_aggr; | if (ac_aggr.rt_unit) | return 0; | ; | return 0; | } configure:15928: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:170:19: error: 'struct rtentry' has no member named 'rt_unit' 170 | if (sizeof ac_aggr.rt_unit) | ^ configure:15928: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #include | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef HAVE_SYS_SOCKET_H | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #include | #undef KERNEL | #undef _KERNEL | #endif | #ifdef HAVE_NET_ROUTE_H | #include | #endif | | | int | main () | { | static struct rtentry ac_aggr; | if (sizeof ac_aggr.rt_unit) | return 0; | ; | return 0; | } configure:15928: result: no configure:15960: checking for struct rtentry.rt_use configure:15960: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:170:13: error: 'struct rtentry' has no member named 'rt_use'; did you mean 'rt_dst'? 170 | if (ac_aggr.rt_use) | ^~~~~~ | rt_dst configure:15960: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #include | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef HAVE_SYS_SOCKET_H | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #include | #undef KERNEL | #undef _KERNEL | #endif | #ifdef HAVE_NET_ROUTE_H | #include | #endif | | | int | main () | { | static struct rtentry ac_aggr; | if (ac_aggr.rt_use) | return 0; | ; | return 0; | } configure:15960: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:170:20: error: 'struct rtentry' has no member named 'rt_use'; did you mean 'rt_dst'? 170 | if (sizeof ac_aggr.rt_use) | ^~~~~~ | rt_dst configure:15960: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #include | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef HAVE_SYS_SOCKET_H | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #include | #undef KERNEL | #undef _KERNEL | #endif | #ifdef HAVE_NET_ROUTE_H | #include | #endif | | | int | main () | { | static struct rtentry ac_aggr; | if (sizeof ac_aggr.rt_use) | return 0; | ; | return 0; | } configure:15960: result: no configure:16088: checking size of short configure:16093: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16093: $? = 0 configure:16093: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:178:12: error: size of array 'test_array' is negative 178 | static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= 0)]; | ^~~~~~~~~~ configure:16093: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= 0)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:16093: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:178:12: error: size of array 'test_array' is negative 178 | static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= 1)]; | ^~~~~~~~~~ configure:16093: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= 1)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:16093: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16093: $? = 0 configure:16093: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16093: $? = 0 configure:16107: result: 2 configure:16121: checking size of int configure:16126: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16126: $? = 0 configure:16126: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:179:12: error: size of array 'test_array' is negative 179 | static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 0)]; | ^~~~~~~~~~ configure:16126: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 0)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:16126: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:179:12: error: size of array 'test_array' is negative 179 | static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 1)]; | ^~~~~~~~~~ configure:16126: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 1)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:16126: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:179:12: error: size of array 'test_array' is negative 179 | static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 3)]; | ^~~~~~~~~~ configure:16126: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 3)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:16126: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16126: $? = 0 configure:16126: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16126: $? = 0 configure:16126: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16126: $? = 0 configure:16140: result: 4 configure:16154: checking size of long configure:16159: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16159: $? = 0 configure:16159: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:180:12: error: size of array 'test_array' is negative 180 | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 0)]; | ^~~~~~~~~~ configure:16159: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 0)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:16159: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:180:12: error: size of array 'test_array' is negative 180 | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 1)]; | ^~~~~~~~~~ configure:16159: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 1)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:16159: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:180:12: error: size of array 'test_array' is negative 180 | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 3)]; | ^~~~~~~~~~ configure:16159: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 3)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:16159: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:180:12: error: size of array 'test_array' is negative 180 | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 7)]; | ^~~~~~~~~~ configure:16159: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 7)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:16159: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16159: $? = 0 configure:16159: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16159: $? = 0 configure:16159: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16159: $? = 0 configure:16159: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16159: $? = 0 configure:16173: result: 8 configure:16187: checking size of long long configure:16192: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16192: $? = 0 configure:16192: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:181:12: error: size of array 'test_array' is negative 181 | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 0)]; | ^~~~~~~~~~ configure:16192: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | /* 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 (long long))) <= 0)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:16192: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:181:12: error: size of array 'test_array' is negative 181 | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 1)]; | ^~~~~~~~~~ configure:16192: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | /* 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 (long long))) <= 1)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:16192: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:181:12: error: size of array 'test_array' is negative 181 | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 3)]; | ^~~~~~~~~~ configure:16192: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | /* 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 (long long))) <= 3)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:16192: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:181:12: error: size of array 'test_array' is negative 181 | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 7)]; | ^~~~~~~~~~ configure:16192: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | /* 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 (long long))) <= 7)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:16192: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16192: $? = 0 configure:16192: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16192: $? = 0 configure:16192: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16192: $? = 0 configure:16192: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16192: $? = 0 configure:16206: result: 8 configure:16220: checking size of intmax_t configure:16225: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16225: $? = 0 configure:16225: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:182:12: error: size of array 'test_array' is negative 182 | static int test_array [1 - 2 * !(((long int) (sizeof (intmax_t))) <= 0)]; | ^~~~~~~~~~ configure:16225: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | /* 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 (intmax_t))) <= 0)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:16225: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:182:12: error: size of array 'test_array' is negative 182 | static int test_array [1 - 2 * !(((long int) (sizeof (intmax_t))) <= 1)]; | ^~~~~~~~~~ configure:16225: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | /* 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 (intmax_t))) <= 1)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:16225: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:182:12: error: size of array 'test_array' is negative 182 | static int test_array [1 - 2 * !(((long int) (sizeof (intmax_t))) <= 3)]; | ^~~~~~~~~~ configure:16225: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | /* 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 (intmax_t))) <= 3)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:16225: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:182:12: error: size of array 'test_array' is negative 182 | static int test_array [1 - 2 * !(((long int) (sizeof (intmax_t))) <= 7)]; | ^~~~~~~~~~ configure:16225: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | /* 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 (intmax_t))) <= 7)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:16225: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16225: $? = 0 configure:16225: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16225: $? = 0 configure:16225: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16225: $? = 0 configure:16225: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16225: $? = 0 configure:16239: result: 8 configure:16250: checking for int8_t configure:16250: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16250: $? = 0 configure:16250: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:184:12: error: size of array 'test_array' is negative 184 | static int test_array [1 - 2 * !((int8_t) (((((int8_t) 1 << N) << N) - 1) * 2 + 1) | ^~~~~~~~~~ configure:16250: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | /* 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 | enum { N = 8 / 2 - 1 }; | int | main () | { | static int test_array [1 - 2 * !((int8_t) (((((int8_t) 1 << N) << N) - 1) * 2 + 1) | < (int8_t) (((((int8_t) 1 << N) << N) - 1) * 2 + 2))]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:16250: result: yes configure:16261: checking for int16_t configure:16261: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16261: $? = 0 configure:16261: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:184:12: error: size of array 'test_array' is negative 184 | static int test_array [1 - 2 * !((int16_t) (((((int16_t) 1 << N) << N) - 1) * 2 + 1) | ^~~~~~~~~~ configure:16261: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | /* 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 | enum { N = 16 / 2 - 1 }; | int | main () | { | static int test_array [1 - 2 * !((int16_t) (((((int16_t) 1 << N) << N) - 1) * 2 + 1) | < (int16_t) (((((int16_t) 1 << N) << N) - 1) * 2 + 2))]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:16261: result: yes configure:16272: checking for int32_t configure:16272: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16272: $? = 0 configure:16272: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:185:53: warning: integer overflow in expression of type 'int' results in '-2147483648' [-Woverflow] 185 | < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 2))]; | ^ conftest.c:184:12: error: storage size of 'test_array' isn't constant 184 | static int test_array [1 - 2 * !((int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 1) | ^~~~~~~~~~ configure:16272: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | /* 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 | enum { N = 32 / 2 - 1 }; | int | main () | { | static int test_array [1 - 2 * !((int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 1) | < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 2))]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:16272: result: yes configure:16283: checking for int64_t configure:16283: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16283: $? = 0 configure:16283: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:185:53: warning: integer overflow in expression of type 'long int' results in '-9223372036854775808' [-Woverflow] 185 | < (int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 2))]; | ^ conftest.c:184:12: error: storage size of 'test_array' isn't constant 184 | static int test_array [1 - 2 * !((int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 1) | ^~~~~~~~~~ configure:16283: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | /* 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 | enum { N = 64 / 2 - 1 }; | int | main () | { | static int test_array [1 - 2 * !((int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 1) | < (int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 2))]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:16283: result: yes configure:16295: checking for unsigned long long int configure:16334: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:16334: $? = 0 configure:16343: result: yes configure:16353: checking for long long int configure:16403: result: yes configure:16413: checking for intmax_t configure:16413: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16413: $? = 0 configure:16413: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:185:23: error: expected expression before ')' token 185 | if (sizeof ((intmax_t))) | ^ configure:16413: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((intmax_t))) | return 0; | ; | return 0; | } configure:16413: result: yes configure:16430: checking for uint8_t configure:16430: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16430: $? = 0 configure:16430: result: yes configure:16444: checking for uint16_t configure:16444: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16444: $? = 0 configure:16444: result: yes configure:16456: checking for uint32_t configure:16456: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16456: $? = 0 configure:16456: result: yes configure:16470: checking for uint64_t configure:16470: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16470: $? = 0 configure:16470: result: yes configure:16486: checking for uintmax_t configure:16486: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16486: $? = 0 configure:16486: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -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 ((uintmax_t))) | ^ configure:16486: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((uintmax_t))) | return 0; | ; | return 0; | } configure:16486: result: yes configure:16504: checking for intptr_t configure:16504: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16504: $? = 0 configure:16504: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:187:23: error: expected expression before ')' token 187 | if (sizeof ((intptr_t))) | ^ configure:16504: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((intptr_t))) | return 0; | ; | return 0; | } configure:16504: result: yes configure:16540: checking for uintptr_t configure:16540: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16540: $? = 0 configure:16540: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:188:24: error: expected expression before ')' token 188 | if (sizeof ((uintptr_t))) | ^ configure:16540: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((uintptr_t))) | return 0; | ; | return 0; | } configure:16540: result: yes configure:16581: checking for off64_t configure:16581: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16581: $? = 0 configure:16581: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:189:22: error: expected expression before ')' token 189 | if (sizeof ((off64_t))) | ^ configure:16581: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((off64_t))) | return 0; | ; | return 0; | } configure:16581: result: yes configure:16591: checking for nfds_t configure:16591: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16591: $? = 0 configure:16591: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:159:21: error: expected expression before ')' token 159 | if (sizeof ((nfds_t))) | ^ configure:16591: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | /* end confdefs.h. */ | #include | | int | main () | { | if (sizeof ((nfds_t))) | return 0; | ; | return 0; | } configure:16591: result: yes configure:16606: checking for Counter64 configure:16606: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:155:10: fatal error: inet/mib2.h: No such file or directory 155 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:16606: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | /* end confdefs.h. */ | #include | | int | main () | { | if (sizeof (Counter64)) | return 0; | ; | return 0; | } configure:16606: result: no configure:16617: checking for mib2_ipIfStatsEntry_t configure:16617: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:155:10: fatal error: inet/mib2.h: No such file or directory 155 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:16617: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | /* end confdefs.h. */ | #include | | int | main () | { | if (sizeof (mib2_ipIfStatsEntry_t)) | return 0; | ; | return 0; | } configure:16617: result: no configure:16636: checking for struct in_ifaddr.ia_subnetmask configure:16636: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:164:25: error: storage size of 'ac_aggr' isn't known 164 | static struct in_ifaddr ac_aggr; | ^~~~~~~ configure:16636: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | /* end confdefs.h. */ | | #ifdef HAVE_NETINET_IN_VAR_H | #include | #endif | | | int | main () | { | static struct in_ifaddr ac_aggr; | if (ac_aggr.ia_subnetmask) | return 0; | ; | return 0; | } configure:16636: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:164:25: error: storage size of 'ac_aggr' isn't known 164 | static struct in_ifaddr ac_aggr; | ^~~~~~~ configure:16636: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | /* end confdefs.h. */ | | #ifdef HAVE_NETINET_IN_VAR_H | #include | #endif | | | int | main () | { | static struct in_ifaddr ac_aggr; | if (sizeof ac_aggr.ia_subnetmask) | return 0; | ; | return 0; | } configure:16636: result: no configure:16665: checking ipv6 stack type conftest.c:156:10: fatal error: /usr/local/v6/include/sys/types.h: No such file or directory 156 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:16743: result: postponed configure:16745: checking for struct sockaddr_in6.sin6_addr configure:16745: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:210:5: error: used struct type value where scalar is required 210 | if (ac_aggr.sin6_addr) | ^~~~~~~ configure:16745: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | /* end confdefs.h. */ | | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #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 | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | | | int | main () | { | static struct sockaddr_in6 ac_aggr; | if (ac_aggr.sin6_addr) | return 0; | ; | return 0; | } configure:16745: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16745: $? = 0 configure:16745: result: yes configure:16768: checking ipv6 stack type configure:16791: result: "generic, yes, using libc" configure:16830: checking for platform-specific source configure:16878: result: configure:16880: result: configure:16912: checking for and configuring transport modules to use configure:17069: result: Callback Unix Alias TCP UDP TCPIPv6 UDPIPv6 DTLSUDP TLSTCP IPv4Base SocketBase TCPBase UDPIPv4Base UDPBase IPBase IPv6Base TLSBase. configure:17084: checking for security modules to use configure:17165: result: tsm usm configure:17689: checking whether sensors_get_all_subfeatures is declared configure:17689: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:17689: $? = 0 configure:17689: result: yes configure:17801: checking rpm/rpmlib.h usability configure:17801: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:209:10: fatal error: rpm/rpmlib.h: No such file or directory 209 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:17801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 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:17801: result: no configure:17801: checking rpm/rpmlib.h presence configure:17801: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:176:10: fatal error: rpm/rpmlib.h: No such file or directory 176 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:17801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | /* end confdefs.h. */ | #include configure:17801: result: no configure:17801: checking for rpm/rpmlib.h configure:17801: result: no configure:17801: checking rpm/header.h usability configure:17801: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:209:10: fatal error: rpm/header.h: No such file or directory 209 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:17801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 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:17801: result: no configure:17801: checking rpm/header.h presence configure:17801: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:176:10: fatal error: rpm/header.h: No such file or directory 176 | #include | ^~~~~~~~~~~~~~ compilation terminated. configure:17801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | /* end confdefs.h. */ | #include configure:17801: result: no configure:17801: checking for rpm/header.h configure:17801: result: no configure:17812: checking for rpm/rpmlib.h configure:17812: result: no configure:17820: checking for rpm/header.h configure:17820: result: no configure:18137: checking for library containing getfsstat configure:18168: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccWCcWHf.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `getfsstat' collect2: error: ld returned 1 exit status configure:18168: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 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 getfsstat (); | int | main () | { | return getfsstat (); | ; | return 0; | } configure:18168: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lnbutil -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: cannot find -lnbutil collect2: error: ld returned 1 exit status configure:18168: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 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 getfsstat (); | int | main () | { | return getfsstat (); | ; | return 0; | } configure:18185: result: no configure:18195: checking for getfsstat configure:18195: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccSjkzlV.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `getfsstat' collect2: error: ld returned 1 exit status configure:18195: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | /* end confdefs.h. */ | /* Define getfsstat to an innocuous variant, in case declares getfsstat. | For example, HP-UX 11i declares gettimeofday. */ | #define getfsstat innocuous_getfsstat | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char getfsstat (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef getfsstat | | /* 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 getfsstat (); | /* 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_getfsstat || defined __stub___getfsstat | choke me | #endif | | int | main () | { | return getfsstat (); | ; | return 0; | } configure:18195: result: no configure:18206: checking for getvfsstat configure:18206: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccao1Z1V.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `getvfsstat' collect2: error: ld returned 1 exit status configure:18206: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | /* end confdefs.h. */ | /* Define getvfsstat to an innocuous variant, in case declares getvfsstat. | For example, HP-UX 11i declares gettimeofday. */ | #define getvfsstat innocuous_getvfsstat | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char getvfsstat (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef getvfsstat | | /* 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 getvfsstat (); | /* 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_getvfsstat || defined __stub___getvfsstat | choke me | #endif | | int | main () | { | return getvfsstat (); | ; | return 0; | } configure:18206: result: no configure:18217: checking for library containing getmntent configure:18248: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:18248: $? = 0 configure:18265: result: none required configure:18283: checking for library containing kinfo_get_cpus configure:18314: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccYmPHO6.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `kinfo_get_cpus' collect2: error: ld returned 1 exit status configure:18314: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 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 kinfo_get_cpus (); | int | main () | { | return kinfo_get_cpus (); | ; | return 0; | } configure:18314: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lkinfo -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: cannot find -lkinfo collect2: error: ld returned 1 exit status configure:18314: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 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 kinfo_get_cpus (); | int | main () | { | return kinfo_get_cpus (); | ; | return 0; | } configure:18331: result: no configure:18341: checking for kinfo_get_cpus configure:18341: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/cc8wvhxc.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `kinfo_get_cpus' collect2: error: ld returned 1 exit status configure:18341: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | /* Define kinfo_get_cpus to an innocuous variant, in case declares kinfo_get_cpus. | For example, HP-UX 11i declares gettimeofday. */ | #define kinfo_get_cpus innocuous_kinfo_get_cpus | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char kinfo_get_cpus (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef kinfo_get_cpus | | /* 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 kinfo_get_cpus (); | /* 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_kinfo_get_cpus || defined __stub___kinfo_get_cpus | choke me | #endif | | int | main () | { | return kinfo_get_cpus (); | ; | return 0; | } configure:18341: result: no configure:18355: checking for library containing exp configure:18383: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 conftest.c:184:6: warning: conflicting types for built-in function 'exp'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 184 | char exp (); | ^~~ conftest.c:1:1: note: 'exp' is declared in header '' 1 | /* confdefs.h */ configure:18383: $? = 0 configure:18419: result: none required configure:18434: checking for library containing kvm_read configure:18462: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccWED3KR.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `kvm_read' collect2: error: ld returned 1 exit status configure:18462: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 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 kvm_read (); | int | main () | { | return kvm_read (); | ; | return 0; | } configure:18485: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lkvm -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: cannot find -lkvm collect2: error: ld returned 1 exit status configure:18485: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 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 kvm_read (); | int | main () | { | return kvm_read (); | ; | return 0; | } configure:18498: result: no configure:18509: checking for library containing kvm_openfiles configure:18537: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccEfdeIL.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `kvm_openfiles' collect2: error: ld returned 1 exit status configure:18537: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 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 kvm_openfiles (); | int | main () | { | return kvm_openfiles (); | ; | return 0; | } configure:18560: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lkvm -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: cannot find -lkvm collect2: error: ld returned 1 exit status configure:18560: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 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 kvm_openfiles (); | int | main () | { | return kvm_openfiles (); | ; | return 0; | } configure:18573: result: no configure:18584: checking for library containing kvm_getprocs configure:18612: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccmQDbxu.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `kvm_getprocs' collect2: error: ld returned 1 exit status configure:18612: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 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 kvm_getprocs (); | int | main () | { | return kvm_getprocs (); | ; | return 0; | } configure:18635: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lkvm -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: cannot find -lkvm collect2: error: ld returned 1 exit status configure:18635: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 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 kvm_getprocs (); | int | main () | { | return kvm_getprocs (); | ; | return 0; | } configure:18648: result: no configure:18659: checking for library containing kvm_getproc2 configure:18687: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccP1V6jk.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `kvm_getproc2' collect2: error: ld returned 1 exit status configure:18687: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 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 kvm_getproc2 (); | int | main () | { | return kvm_getproc2 (); | ; | return 0; | } configure:18710: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lkvm -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: cannot find -lkvm collect2: error: ld returned 1 exit status configure:18710: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 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 kvm_getproc2 (); | int | main () | { | return kvm_getproc2 (); | ; | return 0; | } configure:18723: result: no configure:18734: checking for library containing kvm_getfiles configure:18762: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccOFRtTX.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `kvm_getfiles' collect2: error: ld returned 1 exit status configure:18762: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 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 kvm_getfiles (); | int | main () | { | return kvm_getfiles (); | ; | return 0; | } configure:18785: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lkvm -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: cannot find -lkvm collect2: error: ld returned 1 exit status configure:18785: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 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 kvm_getfiles (); | int | main () | { | return kvm_getfiles (); | ; | return 0; | } configure:18798: result: no configure:18809: checking for library containing kvm_getfile2 configure:18837: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccirh45W.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `kvm_getfile2' collect2: error: ld returned 1 exit status configure:18837: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 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 kvm_getfile2 (); | int | main () | { | return kvm_getfile2 (); | ; | return 0; | } configure:18860: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lkvm -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: cannot find -lkvm collect2: error: ld returned 1 exit status configure:18860: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 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 kvm_getfile2 (); | int | main () | { | return kvm_getfile2 (); | ; | return 0; | } configure:18873: result: no configure:18884: checking for library containing kvm_getswapinfo configure:18912: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccju8waC.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `kvm_getswapinfo' collect2: error: ld returned 1 exit status configure:18912: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 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 kvm_getswapinfo (); | int | main () | { | return kvm_getswapinfo (); | ; | return 0; | } configure:18935: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lkvm -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: cannot find -lkvm collect2: error: ld returned 1 exit status configure:18935: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 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 kvm_getswapinfo (); | int | main () | { | return kvm_getswapinfo (); | ; | return 0; | } configure:18948: result: no configure:18963: checking for kvm_openfiles configure:18963: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccGpuczy.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `kvm_openfiles' collect2: error: ld returned 1 exit status configure:18963: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | /* Define kvm_openfiles to an innocuous variant, in case declares kvm_openfiles. | For example, HP-UX 11i declares gettimeofday. */ | #define kvm_openfiles innocuous_kvm_openfiles | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char kvm_openfiles (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef kvm_openfiles | | /* 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 kvm_openfiles (); | /* 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_kvm_openfiles || defined __stub___kvm_openfiles | choke me | #endif | | int | main () | { | return kvm_openfiles (); | ; | return 0; | } configure:18963: result: no configure:18963: checking for kvm_getprocs configure:18963: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccqksQtb.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `kvm_getprocs' collect2: error: ld returned 1 exit status configure:18963: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | /* Define kvm_getprocs to an innocuous variant, in case declares kvm_getprocs. | For example, HP-UX 11i declares gettimeofday. */ | #define kvm_getprocs innocuous_kvm_getprocs | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char kvm_getprocs (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef kvm_getprocs | | /* 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 kvm_getprocs (); | /* 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_kvm_getprocs || defined __stub___kvm_getprocs | choke me | #endif | | int | main () | { | return kvm_getprocs (); | ; | return 0; | } configure:18963: result: no configure:18963: checking for kvm_getproc2 configure:18963: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/cczs3mlE.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `kvm_getproc2' collect2: error: ld returned 1 exit status configure:18963: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | /* Define kvm_getproc2 to an innocuous variant, in case declares kvm_getproc2. | For example, HP-UX 11i declares gettimeofday. */ | #define kvm_getproc2 innocuous_kvm_getproc2 | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char kvm_getproc2 (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef kvm_getproc2 | | /* 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 kvm_getproc2 (); | /* 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_kvm_getproc2 || defined __stub___kvm_getproc2 | choke me | #endif | | int | main () | { | return kvm_getproc2 (); | ; | return 0; | } configure:18963: result: no configure:18963: checking for kvm_getswapinfo configure:18963: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccG3ppPH.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `kvm_getswapinfo' collect2: error: ld returned 1 exit status configure:18963: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | /* Define kvm_getswapinfo to an innocuous variant, in case declares kvm_getswapinfo. | For example, HP-UX 11i declares gettimeofday. */ | #define kvm_getswapinfo innocuous_kvm_getswapinfo | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char kvm_getswapinfo (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef kvm_getswapinfo | | /* 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 kvm_getswapinfo (); | /* 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_kvm_getswapinfo || defined __stub___kvm_getswapinfo | choke me | #endif | | int | main () | { | return kvm_getswapinfo (); | ; | return 0; | } configure:18963: result: no configure:18963: checking for kvm_getfiles configure:18963: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccTAxXpb.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `kvm_getfiles' collect2: error: ld returned 1 exit status configure:18963: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | /* Define kvm_getfiles to an innocuous variant, in case declares kvm_getfiles. | For example, HP-UX 11i declares gettimeofday. */ | #define kvm_getfiles innocuous_kvm_getfiles | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char kvm_getfiles (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef kvm_getfiles | | /* 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 kvm_getfiles (); | /* 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_kvm_getfiles || defined __stub___kvm_getfiles | choke me | #endif | | int | main () | { | return kvm_getfiles (); | ; | return 0; | } configure:18963: result: no configure:18963: checking for kvm_getfile2 configure:18963: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccjiViNG.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `kvm_getfile2' collect2: error: ld returned 1 exit status configure:18963: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | /* end confdefs.h. */ | /* Define kvm_getfile2 to an innocuous variant, in case declares kvm_getfile2. | For example, HP-UX 11i declares gettimeofday. */ | #define kvm_getfile2 innocuous_kvm_getfile2 | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char kvm_getfile2 (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef kvm_getfile2 | | /* 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 kvm_getfile2 (); | /* 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_kvm_getfile2 || defined __stub___kvm_getfile2 | choke me | #endif | | int | main () | { | return kvm_getfile2 (); | ; | return 0; | } configure:18963: result: no configure:18978: checking for library containing dlopen configure:19006: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:19006: $? = 0 configure:19042: result: none required configure:19056: checking for dlopen configure:19056: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:19056: $? = 0 configure:19056: result: yes configure:19071: checking pcre.h usability configure:19071: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:19071: $? = 0 configure:19071: result: yes configure:19071: checking pcre.h presence configure:19071: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:19071: $? = 0 configure:19071: result: yes configure:19071: checking for pcre.h configure:19071: result: yes configure:19098: checking for library containing pcre_exec configure:19126: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccpTeji3.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `pcre_exec' collect2: error: ld returned 1 exit status configure:19126: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_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 pcre_exec (); | int | main () | { | return pcre_exec (); | ; | return 0; | } configure:19149: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lpcre -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:19149: $? = 0 configure:19162: result: -lpcre configure:19204: checking for and configuring mib modules to use configure:19274: result: agentx default_modules host ucd-snmp/dlmod. configure:20093: result: . configure:20111: checking if directories need to be created configure:20116: result: . configure:20122: checking default mib files to read configure:20153: result: :SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB configure:20186: checking whether we have to build PIC code configure:20191: result: yes configure:20457: checking for library containing socket configure:20488: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:20488: $? = 0 configure:20505: result: none required configure:20515: checking for library containing gethostbyname configure:20546: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:20546: $? = 0 configure:20563: result: none required configure:20573: checking for gethostbyname configure:20573: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:20573: $? = 0 configure:20573: result: yes configure:20582: checking for library containing gethostbyaddr configure:20613: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:20613: $? = 0 configure:20630: result: none required configure:20640: checking for gethostbyaddr configure:20640: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:20640: $? = 0 configure:20640: result: yes configure:20673: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto -liphlpapi >&5 conftest.c:185:12: fatal error: winsock2.h: No such file or directory 185 | #include | ^~~~~~~~~~~~ compilation terminated. configure:20673: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | /* end confdefs.h. */ | | #include | #include | | int | main () | { | | IpRenewAddress(0); | | ; | return 0; | } configure:20692: checking for MIB_IF_TABLE2 configure:20712: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 conftest.c:186:12: fatal error: winsock2.h: No such file or directory 186 | #include | ^~~~~~~~~~~~ compilation terminated. configure:20712: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | /* end confdefs.h. */ | | #define _WIN32_WINNT 0xffff | #include | #include | #include | | int | main () | { | | return sizeof(MIB_IF_TABLE2) | | ; | return 0; | } configure:20720: result: no configure:20747: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto -lregex >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: cannot find -lregex collect2: error: ld returned 1 exit status configure:20747: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | /* end confdefs.h. */ | | #include | #include | | int | main () | { | | regcomp(0, 0, 0); | | ; | return 0; | } configure:20781: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto -lsnmpapi >&5 conftest.c:185:12: fatal error: snmp.h: No such file or directory 185 | #include | ^~~~~~~~ compilation terminated. configure:20781: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | /* end confdefs.h. */ | | #include | | int | main () | { | | SnmpUtilMemAlloc(0); | | ; | return 0; | } configure:20798: checking for kstat_lookup in -lkstat configure:20823: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lkstat -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: cannot find -lkstat collect2: error: ld returned 1 exit status configure:20823: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 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 kstat_lookup (); | int | main () | { | return kstat_lookup (); | ; | return 0; | } configure:20832: result: no configure:20842: checking for in6addr_any in -lsocket configure:20867: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lsocket -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: cannot find -lsocket collect2: error: ld returned 1 exit status configure:20867: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 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 in6addr_any (); | int | main () | { | return in6addr_any (); | ; | return 0; | } configure:20876: result: no configure:20889: checking for library containing clock_gettime configure:20917: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:20917: $? = 0 configure:20953: result: none required configure:21138: checking for library containing pci_lookup_name configure:21166: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lpcre -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/cc6uXC99.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `pci_lookup_name' collect2: error: ld returned 1 exit status configure:21166: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 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 pci_lookup_name (); | int | main () | { | return pci_lookup_name (); | ; | return 0; | } configure:21189: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lpci -lpcre -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:21189: $? = 0 configure:21202: result: -lpci configure:21468: checking pkg-config is at least version 0.9.0 configure:21471: result: yes configure:21480: $PKG_CONFIG --exists --print-errors "libnl-3.0" configure:21483: $? = 0 configure:21487: checking for LIBNL3 configure:21494: $PKG_CONFIG --exists --print-errors "libnl-3.0" configure:21497: $? = 0 configure:21511: $PKG_CONFIG --exists --print-errors "libnl-3.0" configure:21514: $? = 0 configure:21572: result: yes configure:21582: checking for library containing nl_connect configure:21610: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lpci -lpcre -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccHv4vnR.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `nl_connect' collect2: error: ld returned 1 exit status configure:21610: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 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 nl_connect (); | int | main () | { | return nl_connect (); | ; | return 0; | } configure:21633: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lnl-3 -lpci -lpcre -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:21633: $? = 0 configure:21646: result: -lnl-3 configure:21654: checking netlink/netlink.h usability configure:21654: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:21654: $? = 0 configure:21654: result: yes configure:21654: checking netlink/netlink.h presence configure:21654: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:21654: $? = 0 configure:21654: result: yes configure:21654: checking for netlink/netlink.h configure:21654: result: yes configure:21928: checking for -leay32 configure:21944: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -leay32 >&5 conftest.c: In function 'main': conftest.c:193:8: warning: returning 'const EVP_MD *' {aka 'const struct evp_md_st *'} from a function with return type 'int' makes integer from pointer without a cast [-Wint-conversion] 193 | return EVP_md5(); | ^~~~~~~~~ /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: cannot find -leay32 collect2: error: ld returned 1 exit status configure:21944: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | /* end confdefs.h. */ | | #include | int | main () | { | return EVP_md5(); | ; | return 0; | } configure:21948: result: no configure:21957: checking for EVP_md5 in -lcrypto configure:21982: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lcrypto -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:21982: $? = 0 configure:21991: result: yes configure:22054: checking for AES_cfb128_encrypt configure:22054: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lcrypto -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:22054: $? = 0 configure:22054: result: yes configure:22054: checking for EVP_sha224 configure:22054: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lcrypto -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:22054: $? = 0 configure:22054: result: yes configure:22054: checking for EVP_sha384 configure:22054: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lcrypto -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:22054: $? = 0 configure:22054: result: yes configure:22054: checking for EVP_MD_CTX_create configure:22054: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lcrypto -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccbWmizd.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `EVP_MD_CTX_create' collect2: error: ld returned 1 exit status configure:22054: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | /* end confdefs.h. */ | /* Define EVP_MD_CTX_create to an innocuous variant, in case declares EVP_MD_CTX_create. | For example, HP-UX 11i declares gettimeofday. */ | #define EVP_MD_CTX_create innocuous_EVP_MD_CTX_create | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char EVP_MD_CTX_create (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef EVP_MD_CTX_create | | /* 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 EVP_MD_CTX_create (); | /* 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_EVP_MD_CTX_create || defined __stub___EVP_MD_CTX_create | choke me | #endif | | int | main () | { | return EVP_MD_CTX_create (); | ; | return 0; | } configure:22054: result: no configure:22054: checking for EVP_MD_CTX_destroy configure:22054: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lcrypto -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccVu3jCO.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `EVP_MD_CTX_destroy' collect2: error: ld returned 1 exit status configure:22054: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | /* end confdefs.h. */ | /* Define EVP_MD_CTX_destroy to an innocuous variant, in case declares EVP_MD_CTX_destroy. | For example, HP-UX 11i declares gettimeofday. */ | #define EVP_MD_CTX_destroy innocuous_EVP_MD_CTX_destroy | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char EVP_MD_CTX_destroy (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef EVP_MD_CTX_destroy | | /* 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 EVP_MD_CTX_destroy (); | /* 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_EVP_MD_CTX_destroy || defined __stub___EVP_MD_CTX_destroy | choke me | #endif | | int | main () | { | return EVP_MD_CTX_destroy (); | ; | return 0; | } configure:22054: result: no configure:22054: checking for EVP_MD_CTX_new configure:22054: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lcrypto -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:22054: $? = 0 configure:22054: result: yes configure:22054: checking for EVP_MD_CTX_free configure:22054: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lcrypto -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:22054: $? = 0 configure:22054: result: yes configure:22054: checking for DH_set0_pqg configure:22054: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lcrypto -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:22054: $? = 0 configure:22054: result: yes configure:22054: checking for DH_get0_pqg configure:22054: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lcrypto -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:22054: $? = 0 configure:22054: result: yes configure:22054: checking for DH_get0_key configure:22054: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lcrypto -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:22054: $? = 0 configure:22054: result: yes configure:22054: checking for ASN1_STRING_get0_data configure:22054: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lcrypto -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:22054: $? = 0 configure:22054: result: yes configure:22054: checking for X509_NAME_ENTRY_get_object configure:22054: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lcrypto -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:22054: $? = 0 configure:22054: result: yes configure:22054: checking for X509_NAME_ENTRY_get_data configure:22054: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lcrypto -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:22054: $? = 0 configure:22054: result: yes configure:22054: checking for X509_get_signature_nid configure:22054: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lcrypto -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:22054: $? = 0 configure:22054: result: yes configure:22063: checking whether 2nd app_verify_cookie_cb() arg is const configure:22085: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -Werror -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:22085: $? = 0 configure:22086: result: yes configure:22106: checking for TLS_method configure:22106: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lssl -lcrypto -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:22106: $? = 0 configure:22106: result: yes configure:22106: checking for TLSv1_method configure:22106: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lssl -lcrypto -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:22106: $? = 0 configure:22106: result: yes configure:22106: checking for DTLS_method configure:22106: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lssl -lcrypto -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:22106: $? = 0 configure:22106: result: yes configure:22106: checking for DTLSv1_method configure:22106: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lssl -lcrypto -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:22106: $? = 0 configure:22106: result: yes configure:22106: checking for SSL_library_init configure:22106: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lssl -lcrypto -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccHtvPaB.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `SSL_library_init' collect2: error: ld returned 1 exit status configure:22106: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | /* end confdefs.h. */ | /* Define SSL_library_init to an innocuous variant, in case declares SSL_library_init. | For example, HP-UX 11i declares gettimeofday. */ | #define SSL_library_init innocuous_SSL_library_init | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char SSL_library_init (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef SSL_library_init | | /* 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 SSL_library_init (); | /* 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_SSL_library_init || defined __stub___SSL_library_init | choke me | #endif | | int | main () | { | return SSL_library_init (); | ; | return 0; | } configure:22106: result: no configure:22106: checking for SSL_load_error_strings configure:22106: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lssl -lcrypto -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccUpxiXR.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `SSL_load_error_strings' collect2: error: ld returned 1 exit status configure:22106: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | /* end confdefs.h. */ | /* Define SSL_load_error_strings to an innocuous variant, in case declares SSL_load_error_strings. | For example, HP-UX 11i declares gettimeofday. */ | #define SSL_load_error_strings innocuous_SSL_load_error_strings | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char SSL_load_error_strings (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef SSL_load_error_strings | | /* 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 SSL_load_error_strings (); | /* 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_SSL_load_error_strings || defined __stub___SSL_load_error_strings | choke me | #endif | | int | main () | { | return SSL_load_error_strings (); | ; | return 0; | } configure:22106: result: no configure:22106: checking for ERR_get_error_all configure:22106: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lssl -lcrypto -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccmWXcjD.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `ERR_get_error_all' collect2: error: ld returned 1 exit status configure:22106: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | /* end confdefs.h. */ | /* Define ERR_get_error_all to an innocuous variant, in case declares ERR_get_error_all. | For example, HP-UX 11i declares gettimeofday. */ | #define ERR_get_error_all innocuous_ERR_get_error_all | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char ERR_get_error_all (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef ERR_get_error_all | | /* 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 ERR_get_error_all (); | /* 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_ERR_get_error_all || defined __stub___ERR_get_error_all | choke me | #endif | | int | main () | { | return ERR_get_error_all (); | ; | return 0; | } configure:22106: result: no configure:22625: checking for pcap_create in -lpcap configure:22650: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lpcap -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:22650: $? = 0 configure:22659: result: yes configure:22665: checking pcap/pcap.h usability configure:22665: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:22665: $? = 0 configure:22665: result: yes configure:22665: checking pcap/pcap.h presence configure:22665: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:22665: $? = 0 configure:22665: result: yes configure:22665: checking for pcap/pcap.h configure:22665: result: yes configure:22692: checking for nlist configure:22692: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/cc34lCh3.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `nlist' collect2: error: ld returned 1 exit status configure:22692: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | /* end confdefs.h. */ | /* Define nlist to an innocuous variant, in case declares nlist. | For example, HP-UX 11i declares gettimeofday. */ | #define nlist innocuous_nlist | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char nlist (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef nlist | | /* 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 nlist (); | /* 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_nlist || defined __stub___nlist | choke me | #endif | | int | main () | { | return nlist (); | ; | return 0; | } configure:22692: result: no configure:22692: checking for nlist64 configure:22692: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccxdRFcD.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `nlist64' collect2: error: ld returned 1 exit status configure:22692: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | /* end confdefs.h. */ | /* Define nlist64 to an innocuous variant, in case declares nlist64. | For example, HP-UX 11i declares gettimeofday. */ | #define nlist64 innocuous_nlist64 | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char nlist64 (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef nlist64 | | /* 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 nlist64 (); | /* 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_nlist64 || defined __stub___nlist64 | choke me | #endif | | int | main () | { | return nlist64 (); | ; | return 0; | } configure:22692: result: no configure:22692: checking for knlist configure:22692: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccJoBS5f.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `knlist' collect2: error: ld returned 1 exit status configure:22692: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | /* end confdefs.h. */ | /* Define knlist to an innocuous variant, in case declares knlist. | For example, HP-UX 11i declares gettimeofday. */ | #define knlist innocuous_knlist | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char knlist (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef knlist | | /* 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 knlist (); | /* 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_knlist || defined __stub___knlist | choke me | #endif | | int | main () | { | return knlist (); | ; | return 0; | } configure:22692: result: no configure:22703: checking for library containing endwin configure:22731: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccDX2MOq.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `endwin' collect2: error: ld returned 1 exit status configure:22731: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_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 endwin (); | int | main () | { | return endwin (); | ; | return 0; | } configure:22754: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lcurses -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:22754: $? = 0 configure:22767: result: -lcurses configure:22776: checking curses.h usability configure:22776: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:22776: $? = 0 configure:22776: result: yes configure:22776: checking curses.h presence configure:22776: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:22776: $? = 0 configure:22776: result: yes configure:22776: checking for curses.h configure:22776: result: yes configure:22788: checking ncurses/curses.h usability configure:22788: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:244:10: fatal error: ncurses/curses.h: No such file or directory 244 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:22788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_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:22788: result: no configure:22788: checking ncurses/curses.h presence configure:22788: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:211:10: fatal error: ncurses/curses.h: No such file or directory 211 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:22788: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | /* end confdefs.h. */ | #include configure:22788: result: no configure:22788: checking for ncurses/curses.h configure:22788: result: no configure:22809: checking for library containing ceil configure:22837: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 conftest.c:218:6: warning: conflicting types for built-in function 'ceil'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 218 | char ceil (); | ^~~~ conftest.c:1:1: note: 'ceil' is declared in header '' 1 | /* confdefs.h */ configure:22837: $? = 0 configure:22873: result: none required configure:23315: checking for potential embedded Perl support configure:23323: result: disabled configure:23341: checking if we can install the Perl modules configure:23366: result: no configure:23397: checking if we should install the python bindings configure:23418: result: no configure:23444: checking for authentication support configure:23508: result: OpenSSL Support configure:23808: checking for off_t configure:23808: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:23808: $? = 0 configure:23808: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:248:20: error: expected expression before ')' token 248 | if (sizeof ((off_t))) | ^ configure:23808: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((off_t))) | return 0; | ; | return 0; | } configure:23808: result: yes configure:23819: checking for pid_t configure:23819: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:23819: $? = 0 configure:23819: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:248:20: error: expected expression before ')' token 248 | if (sizeof ((pid_t))) | ^ configure:23819: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((pid_t))) | return 0; | ; | return 0; | } configure:23819: result: yes configure:23830: checking whether time.h and sys/time.h may both be included configure:23850: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:23850: $? = 0 configure:23857: result: yes configure:23876: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:23876: $? = 0 configure:23899: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:23899: $? = 0 configure:23918: checking for socklen_t configure:23918: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:23918: $? = 0 configure:23918: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:235:24: error: expected expression before ')' token 235 | if (sizeof ((socklen_t))) | ^ configure:23918: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | /* end confdefs.h. */ | | #if defined(HAVE_WINSOCK2_H) && defined(HAVE_WS2TCPIP_H) | #include | #include | #endif | #include | #include | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | | int | main () | { | if (sizeof ((socklen_t))) | return 0; | ; | return 0; | } configure:23918: result: yes configure:23943: checking for in_addr_t configure:23943: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:23943: $? = 0 configure:23943: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:236:24: error: expected expression before ')' token 236 | if (sizeof ((in_addr_t))) | ^ configure:23943: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | /* end confdefs.h. */ | | #if defined(HAVE_WINSOCK2_H) && defined(HAVE_WS2TCPIP_H) | #include | #include | #endif | #include | #include | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | | int | main () | { | if (sizeof ((in_addr_t))) | return 0; | ; | return 0; | } configure:23943: result: yes configure:23968: checking for ssize_t configure:23968: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:23968: $? = 0 configure:23968: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:237:22: error: expected expression before ')' token 237 | if (sizeof ((ssize_t))) | ^ configure:23968: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | /* end confdefs.h. */ | | #if defined(HAVE_WINSOCK2_H) && defined(HAVE_WS2TCPIP_H) | #include | #include | #endif | #include | #include | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | | int | main () | { | if (sizeof ((ssize_t))) | return 0; | ; | return 0; | } configure:23968: result: yes configure:24008: checking for the type of the fifth argument of select() configure:24033: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -Werror -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:24033: $? = 0 configure:24038: result: struct timeval configure:24046: checking for the type of the third argument of ioctlsocket() configure:24071: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -Werror -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:233:8: error: implicit declaration of function 'ioctlsocket' [-Werror=implicit-function-declaration] 233 | return ioctlsocket(0, 0, (unsigned int *)NULL) | ^~~~~~~~~~~ cc1: all warnings being treated as errors configure:24071: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | /* end confdefs.h. */ | | #if defined(HAVE_WINSOCK2_H) && defined(HAVE_WS2TCPIP_H) | #include | #include | #else | #ifdef HAVE_SYS_SELECT_H | #include | #endif | #endif | #include | | int | main () | { | return ioctlsocket(0, 0, (unsigned int *)NULL) | ; | return 0; | } configure:24071: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -Werror -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:233:8: error: implicit declaration of function 'ioctlsocket' [-Werror=implicit-function-declaration] 233 | return ioctlsocket(0, 0, (unsigned long *)NULL) | ^~~~~~~~~~~ cc1: all warnings being treated as errors configure:24071: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | /* end confdefs.h. */ | | #if defined(HAVE_WINSOCK2_H) && defined(HAVE_WS2TCPIP_H) | #include | #include | #else | #ifdef HAVE_SYS_SELECT_H | #include | #endif | #endif | #include | | int | main () | { | return ioctlsocket(0, 0, (unsigned long *)NULL) | ; | return 0; | } configure:24076: result: void configure:24190: checking for size_t configure:24190: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:24190: $? = 0 configure:24190: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:256:21: error: expected expression before ')' token 256 | if (sizeof ((size_t))) | ^ configure:24190: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((size_t))) | return 0; | ; | return 0; | } configure:24190: result: yes configure:24203: checking for working alloca.h configure:24220: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24220: $? = 0 configure:24228: result: yes configure:24236: checking for alloca configure:24273: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24273: $? = 0 configure:24281: result: yes configure:24388: checking whether /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc needs -traditional In file included from conftest.c:222: /tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/sgtty.h:21:2: warning: #warning useless header on uClibc [-Wcpp] 21 | #warning useless header on uClibc | ^~~~~~~ configure:24422: result: no configure:24430: checking return type of signal handlers configure:24448: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:228:10: error: void value not ignored as it ought to be 228 | return *(signal (0, 0)) (0) == 1; | ~^~~~~~~~~~~~~~~~~~ configure:24448: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | /* end confdefs.h. */ | #include | #include | | int | main () | { | return *(signal (0, 0)) (0) == 1; | ; | return 0; | } configure:24455: result: void configure:24471: checking for rand configure:24471: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24471: $? = 0 configure:24471: result: yes configure:24471: checking for random configure:24471: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24471: $? = 0 configure:24471: result: yes configure:24471: checking for srand configure:24471: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24471: $? = 0 configure:24471: result: yes configure:24471: checking for srandom configure:24471: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24471: $? = 0 configure:24471: result: yes configure:24471: checking for lrand48 configure:24471: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24471: $? = 0 configure:24471: result: yes configure:24471: checking for srand48 configure:24471: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24471: $? = 0 configure:24471: result: yes configure:24485: checking for asprintf configure:24485: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24485: $? = 0 configure:24485: result: yes configure:24485: checking for closedir configure:24485: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24485: $? = 0 configure:24485: result: yes configure:24485: checking for fgetc_unlocked configure:24485: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24485: $? = 0 configure:24485: result: yes configure:24485: checking for flockfile configure:24485: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24485: $? = 0 configure:24485: result: yes configure:24485: checking for funlockfile configure:24485: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24485: $? = 0 configure:24485: result: yes configure:24485: checking for getipnodebyname configure:24485: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccgvclvZ.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `getipnodebyname' collect2: error: ld returned 1 exit status configure:24485: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | /* end confdefs.h. */ | /* Define getipnodebyname to an innocuous variant, in case declares getipnodebyname. | For example, HP-UX 11i declares gettimeofday. */ | #define getipnodebyname innocuous_getipnodebyname | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char getipnodebyname (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef getipnodebyname | | /* 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 getipnodebyname (); | /* 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_getipnodebyname || defined __stub___getipnodebyname | choke me | #endif | | int | main () | { | return getipnodebyname (); | ; | return 0; | } configure:24485: result: no configure:24485: checking for gettimeofday configure:24485: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24485: $? = 0 configure:24485: result: yes configure:24485: checking for getlogin configure:24485: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24485: $? = 0 configure:24485: result: yes configure:24485: checking for if_nametoindex configure:24485: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24485: $? = 0 configure:24485: result: yes configure:24485: checking for mkstemp configure:24485: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24485: $? = 0 configure:24485: result: yes configure:24485: checking for opendir configure:24485: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24485: $? = 0 configure:24485: result: yes configure:24485: checking for readdir configure:24485: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24485: $? = 0 configure:24485: result: yes configure:24485: checking for regcomp configure:24485: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24485: $? = 0 configure:24485: result: yes configure:24485: checking for setenv configure:24485: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24485: $? = 0 configure:24485: result: yes configure:24485: checking for setitimer configure:24485: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24485: $? = 0 configure:24485: result: yes configure:24485: checking for setlocale configure:24485: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24485: $? = 0 configure:24485: result: yes configure:24485: checking for setsid configure:24485: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24485: $? = 0 configure:24485: result: yes configure:24485: checking for snprintf configure:24485: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 conftest.c:268:6: warning: conflicting types for built-in function 'snprintf'; expected 'int(char *, long unsigned int, const char *, ...)' [-Wbuiltin-declaration-mismatch] 268 | char snprintf (); | ^~~~~~~~ conftest.c:256:1: note: 'snprintf' is declared in header '' 255 | # include 256 | #else configure:24485: $? = 0 configure:24485: result: yes configure:24485: checking for strcasestr configure:24485: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24485: $? = 0 configure:24485: result: yes configure:24485: checking for strdup configure:24485: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 conftest.c:270:6: warning: conflicting types for built-in function 'strdup'; expected 'char *(const char *)' [-Wbuiltin-declaration-mismatch] 270 | char strdup (); | ^~~~~~ configure:24485: $? = 0 configure:24485: result: yes configure:24485: checking for strerror configure:24485: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24485: $? = 0 configure:24485: result: yes configure:24485: checking for strncasecmp configure:24485: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 conftest.c:272:6: warning: conflicting types for built-in function 'strncasecmp'; expected 'int(const char *, const char *, long unsigned int)' [-Wbuiltin-declaration-mismatch] 272 | char strncasecmp (); | ^~~~~~~~~~~ configure:24485: $? = 0 configure:24485: result: yes configure:24485: checking for sysconf configure:24485: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24485: $? = 0 configure:24485: result: yes configure:24485: checking for times configure:24485: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24485: $? = 0 configure:24485: result: yes configure:24485: checking for vsnprintf configure:24485: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 conftest.c:275:6: warning: conflicting types for built-in function 'vsnprintf'; expected 'int(char *, long unsigned int, const char *, void *)' [-Wbuiltin-declaration-mismatch] 275 | char vsnprintf (); | ^~~~~~~~~ conftest.c:263:1: note: 'vsnprintf' is declared in header '' 262 | # include 263 | #else configure:24485: $? = 0 configure:24485: result: yes configure:24495: checking for _NSGetArgv() configure:24508: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 conftest.c:253:10: fatal error: crt_externs.h: No such file or directory 253 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:24508: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | /* end confdefs.h. */ | #include | int | main () | { | return _NSGetArgv | ; | return 0; | } configure:24516: result: no configure:24523: checking for _NSGetExecutablePath() configure:24536: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 conftest.c:253:10: fatal error: mach-o/dyld.h: No such file or directory 253 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:24536: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | /* end confdefs.h. */ | #include | int | main () | { | return _NSGetExecutablePath | ; | return 0; | } configure:24544: result: no configure:24676: checking for execv configure:24676: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 conftest.c:276:6: warning: conflicting types for built-in function 'execv'; expected 'int(const char *, char * const*)' [-Wbuiltin-declaration-mismatch] 276 | char execv (); | ^~~~~ configure:24676: $? = 0 configure:24676: result: yes configure:24676: checking for fork configure:24676: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 conftest.c:277:6: warning: conflicting types for built-in function 'fork'; expected 'int(void)' [-Wbuiltin-declaration-mismatch] 277 | char fork (); | ^~~~ configure:24676: $? = 0 configure:24676: result: yes configure:24676: checking for signal configure:24676: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24676: $? = 0 configure:24676: result: yes configure:24676: checking for sigset configure:24676: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24676: $? = 0 configure:24676: result: yes configure:24676: checking for uname configure:24676: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24676: $? = 0 configure:24676: result: yes configure:24676: checking for closesocket configure:24676: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/cc694fpI.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `closesocket' collect2: error: ld returned 1 exit status configure:24676: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | /* end confdefs.h. */ | /* Define closesocket to an innocuous variant, in case declares closesocket. | For example, HP-UX 11i declares gettimeofday. */ | #define closesocket innocuous_closesocket | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char closesocket (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef closesocket | | /* 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 closesocket (); | /* 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_closesocket || defined __stub___closesocket | choke me | #endif | | int | main () | { | return closesocket (); | ; | return 0; | } configure:24676: result: no configure:24676: checking for gai_strerror configure:24676: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24676: $? = 0 configure:24676: result: yes configure:24676: checking for getaddrinfo configure:24676: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24676: $? = 0 configure:24676: result: yes configure:24676: checking for gethostbyname configure:24676: result: yes configure:24676: checking for gethostbyname2 configure:24676: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24676: $? = 0 configure:24676: result: yes configure:24676: checking for gethostname configure:24676: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24676: $? = 0 configure:24676: result: yes configure:24676: checking for gethostbyaddr configure:24676: result: yes configure:24676: checking for inet_ntop configure:24676: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24676: $? = 0 configure:24676: result: yes configure:24676: checking for inet_pton configure:24676: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24676: $? = 0 configure:24676: result: yes configure:24689: checking for _beginthreadex() configure:24705: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 conftest.c:268:10: fatal error: process.h: No such file or directory 268 | #include | ^~~~~~~~~~~ compilation terminated. configure:24705: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | /* end confdefs.h. */ | | #include | #include | | int | main () | { | _beginthreadex(NULL, 0, NULL, NULL, 0, NULL); | ; | return 0; | } configure:24712: result: no configure:24718: checking for _cputs() configure:24731: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 conftest.c:266:10: fatal error: conio.h: No such file or directory 266 | #include | ^~~~~~~~~ compilation terminated. configure:24731: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | /* end confdefs.h. */ | #include | int | main () | { | _cputs(0); | ; | return 0; | } configure:24738: result: no configure:24744: checking for _get_osfhandle() configure:24757: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 conftest.c:266:10: fatal error: io.h: No such file or directory 266 | #include | ^~~~~~ compilation terminated. configure:24757: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | /* end confdefs.h. */ | #include | int | main () | { | _get_osfhandle(0); | ; | return 0; | } configure:24764: result: no configure:24770: checking for _getch() configure:24783: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 conftest.c:266:10: fatal error: conio.h: No such file or directory 266 | #include | ^~~~~~~~~ compilation terminated. configure:24783: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | /* end confdefs.h. */ | #include | int | main () | { | return _getch(); | ; | return 0; | } configure:24790: result: no configure:24796: checking for _open_osfhandle() configure:24812: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 conftest.c:268:10: fatal error: io.h: No such file or directory 268 | #include | ^~~~~~ compilation terminated. configure:24812: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | /* end confdefs.h. */ | | #include | #include | | int | main () | { | _open_osfhandle(NULL, 0); | ; | return 0; | } configure:24819: result: no configure:24828: checking for getopt configure:24828: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24828: $? = 0 configure:24828: result: yes configure:24841: checking for strlcat configure:24841: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24841: $? = 0 configure:24841: result: yes configure:24854: checking for strlcpy configure:24854: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24854: $? = 0 configure:24854: result: yes configure:24867: checking for strtok_r configure:24867: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24867: $? = 0 configure:24867: result: yes configure:24880: checking for strtol configure:24880: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24880: $? = 0 configure:24880: result: yes configure:24893: checking for strtoul configure:24893: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24893: $? = 0 configure:24893: result: yes configure:24906: checking for strtoull configure:24906: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24906: $? = 0 configure:24906: result: yes configure:24925: checking for cgetnext configure:24925: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccjzejxT.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `cgetnext' collect2: error: ld returned 1 exit status configure:24925: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | /* end confdefs.h. */ | /* Define cgetnext to an innocuous variant, in case declares cgetnext. | For example, HP-UX 11i declares gettimeofday. */ | #define cgetnext innocuous_cgetnext | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char cgetnext (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef cgetnext | | /* 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 cgetnext (); | /* 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_cgetnext || defined __stub___cgetnext | choke me | #endif | | int | main () | { | return cgetnext (); | ; | return 0; | } configure:24925: result: no configure:24925: checking for chown configure:24925: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24925: $? = 0 configure:24925: result: yes configure:24925: checking for forkall configure:24925: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccTf0yBM.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `forkall' collect2: error: ld returned 1 exit status configure:24925: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | /* end confdefs.h. */ | /* Define forkall to an innocuous variant, in case declares forkall. | For example, HP-UX 11i declares gettimeofday. */ | #define forkall innocuous_forkall | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char forkall (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef forkall | | /* 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 forkall (); | /* 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_forkall || defined __stub___forkall | choke me | #endif | | int | main () | { | return forkall (); | ; | return 0; | } configure:24925: result: no configure:24925: checking for fsync configure:24925: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24925: $? = 0 configure:24925: result: yes configure:24925: checking for gai_strerror configure:24925: result: yes configure:24925: checking for getgrnam configure:24925: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24925: $? = 0 configure:24925: result: yes configure:24925: checking for gethostname configure:24925: result: yes configure:24925: checking for getloadavg configure:24925: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccmfvqtS.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `getloadavg' collect2: error: ld returned 1 exit status configure:24925: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | /* end confdefs.h. */ | /* Define getloadavg to an innocuous variant, in case declares getloadavg. | For example, HP-UX 11i declares gettimeofday. */ | #define getloadavg innocuous_getloadavg | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char getloadavg (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef getloadavg | | /* 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 getloadavg (); | /* 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_getloadavg || defined __stub___getloadavg | choke me | #endif | | int | main () | { | return getloadavg (); | ; | return 0; | } configure:24925: result: no configure:24925: checking for getpid configure:24925: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24925: $? = 0 configure:24925: result: yes configure:24925: checking for getpwnam configure:24925: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24925: $? = 0 configure:24925: result: yes configure:24925: checking for hasmntopt configure:24925: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24925: $? = 0 configure:24925: result: yes configure:24925: checking for initgroups configure:24925: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24925: $? = 0 configure:24925: result: yes configure:24925: checking for if_nameindex configure:24925: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24925: $? = 0 configure:24925: result: yes configure:24925: checking for if_indextoname configure:24925: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24925: $? = 0 configure:24925: result: yes configure:24925: checking for if_nametoindex configure:24925: result: yes configure:24925: checking for localtime_r configure:24925: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24925: $? = 0 configure:24925: result: yes configure:24925: checking for mkstemp configure:24925: result: yes configure:24925: checking for mktime configure:24925: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24925: $? = 0 configure:24925: result: yes configure:24925: checking for poll configure:24925: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24925: $? = 0 configure:24925: result: yes configure:24925: checking for regcomp configure:24925: result: yes configure:24925: checking for setgid configure:24925: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24925: $? = 0 configure:24925: result: yes configure:24925: checking for setgroups configure:24925: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24925: $? = 0 configure:24925: result: yes configure:24925: checking for setmntent configure:24925: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24925: $? = 0 configure:24925: result: yes configure:24925: checking for setuid configure:24925: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24925: $? = 0 configure:24925: result: yes configure:24925: checking for sigaction configure:24925: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24925: $? = 0 configure:24925: result: yes configure:24925: checking for sigblock configure:24925: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccbSRKGG.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `sigblock' collect2: error: ld returned 1 exit status configure:24925: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | /* end confdefs.h. */ | /* Define sigblock to an innocuous variant, in case declares sigblock. | For example, HP-UX 11i declares gettimeofday. */ | #define sigblock innocuous_sigblock | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char sigblock (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef sigblock | | /* 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 sigblock (); | /* 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_sigblock || defined __stub___sigblock | choke me | #endif | | int | main () | { | return sigblock (); | ; | return 0; | } configure:24925: result: no configure:24925: checking for sighold configure:24925: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24925: $? = 0 configure:24925: result: yes configure:24925: checking for sigprocmask configure:24925: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24925: $? = 0 configure:24925: result: yes configure:24925: checking for statfs configure:24925: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24925: $? = 0 configure:24925: result: yes configure:24925: checking for statvfs configure:24925: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24925: $? = 0 configure:24925: result: yes configure:24925: checking for stime configure:24925: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24925: $? = 0 configure:24925: result: yes configure:24925: checking for strncasecmp configure:24925: result: yes configure:24925: checking for system configure:24925: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24925: $? = 0 configure:24925: result: yes configure:24925: checking for usleep configure:24925: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24925: $? = 0 configure:24925: result: yes configure:24939: checking for getdtablesize configure:24939: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24939: $? = 0 configure:24939: result: yes configure:24939: checking for getgrnam configure:24939: result: yes configure:24939: checking for getpid configure:24939: result: yes configure:24939: checking for getpwnam configure:24939: result: yes configure:24939: checking for setgid configure:24939: result: yes configure:24939: checking for setgroups configure:24939: result: yes configure:24939: checking for setuid configure:24939: result: yes configure:24939: checking for tcgetattr configure:24939: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24939: $? = 0 configure:24939: result: yes configure:24953: checking for if_freenameindex configure:24953: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24953: $? = 0 configure:24953: result: yes configure:24953: checking for getpagesize configure:24953: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24953: $? = 0 configure:24953: result: yes configure:24953: checking for lseek64 configure:24953: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24953: $? = 0 configure:24953: result: yes configure:24953: checking for pread64 configure:24953: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24953: $? = 0 configure:24953: result: yes configure:24953: checking for select configure:24953: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24953: $? = 0 configure:24953: result: yes configure:24953: checking for sigalrm configure:24953: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 /tmp/instance-9/output-1/host/lib/gcc/riscv64-buildroot-linux-uclibc/9.4.0/../../../../riscv64-buildroot-linux-uclibc/bin/ld: /tmp/ccWYDlGK.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `sigalrm' collect2: error: ld returned 1 exit status configure:24953: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | /* end confdefs.h. */ | /* Define sigalrm to an innocuous variant, in case declares sigalrm. | For example, HP-UX 11i declares gettimeofday. */ | #define sigalrm innocuous_sigalrm | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char sigalrm (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef sigalrm | | /* 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 sigalrm (); | /* 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_sigalrm || defined __stub___sigalrm | choke me | #endif | | int | main () | { | return sigalrm (); | ; | return 0; | } configure:24953: result: no configure:24953: checking for socket configure:24953: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:24953: $? = 0 configure:24953: result: yes configure:24990: checking for two-argument statfs with struct fs_data (Ultrix) configure:25030: result: no configure:25046: checking how to get the name of the current function configure:25064: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:25064: $? = 0 configure:25086: result: __func__ configure:25099: checking whether static inline functions are broken (Unixware) configure:25115: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:323:10: warning: 'nested_inline_function' is static but used in inline function 'main_inline_function' which is not static 323 | return nested_inline_function(); | ^~~~~~~~~~~~~~~~~~~~~~ configure:25115: $? = 0 configure:25134: result: no configure:25148: checking for SIOCGIFADDR in sys/ioctl.h configure:25171: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:25171: $? = 0 configure:25178: result: yes configure:25254: checking for BIO_dgram_get_peer configure:25270: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto -lcrypto >&5 configure:25270: $? = 0 configure:25280: result: yes configure:25302: checking for struct arphd.at_next configure:25302: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:376:21: error: storage size of 'ac_aggr' isn't known 376 | static struct arphd ac_aggr; | ^~~~~~~ configure:25302: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | /* 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 | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #include | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IF_ETHER_H | #include | #endif | | | int | main () | { | static struct arphd ac_aggr; | if (ac_aggr.at_next) | return 0; | ; | return 0; | } configure:25302: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:376:21: error: storage size of 'ac_aggr' isn't known 376 | static struct arphd ac_aggr; | ^~~~~~~ configure:25302: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | /* 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 | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #include | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IF_ETHER_H | #include | #endif | | | int | main () | { | static struct arphd ac_aggr; | if (sizeof ac_aggr.at_next) | return 0; | ; | return 0; | } configure:25302: result: no configure:25338: checking for struct des_ks_struct.weak_key configure:25338: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:329:29: error: storage size of 'ac_aggr' isn't known 329 | static struct des_ks_struct ac_aggr; | ^~~~~~~ configure:25338: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | /* end confdefs.h. */ | | #ifdef HAVE_OPENSSL_DES_H | #include | #endif | | | int | main () | { | static struct des_ks_struct ac_aggr; | if (ac_aggr.weak_key) | return 0; | ; | return 0; | } configure:25338: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:329:29: error: storage size of 'ac_aggr' isn't known 329 | static struct des_ks_struct ac_aggr; | ^~~~~~~ configure:25338: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | /* end confdefs.h. */ | | #ifdef HAVE_OPENSSL_DES_H | #include | #endif | | | int | main () | { | static struct des_ks_struct ac_aggr; | if (sizeof ac_aggr.weak_key) | return 0; | ; | return 0; | } configure:25338: result: no configure:25359: checking for struct dirent.d_type configure:25359: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:25359: $? = 0 configure:25359: result: yes configure:25380: checking for struct ethtool_cmd.speed_hi configure:25380: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:25380: $? = 0 configure:25380: result: yes configure:25402: checking for struct ipstat.ips_cantfrag configure:25402: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:22: error: storage size of 'ac_aggr' isn't known 368 | static struct ipstat ac_aggr; | ^~~~~~~ configure:25402: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | | | int | main () | { | static struct ipstat ac_aggr; | if (ac_aggr.ips_cantfrag) | return 0; | ; | return 0; | } configure:25402: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:22: error: storage size of 'ac_aggr' isn't known 368 | static struct ipstat ac_aggr; | ^~~~~~~ configure:25402: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | | | int | main () | { | static struct ipstat ac_aggr; | if (sizeof ac_aggr.ips_cantfrag) | return 0; | ; | return 0; | } configure:25402: result: no configure:25421: checking for struct ipstat.ips_delivered configure:25421: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:22: error: storage size of 'ac_aggr' isn't known 368 | static struct ipstat ac_aggr; | ^~~~~~~ configure:25421: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | | | int | main () | { | static struct ipstat ac_aggr; | if (ac_aggr.ips_delivered) | return 0; | ; | return 0; | } configure:25421: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:22: error: storage size of 'ac_aggr' isn't known 368 | static struct ipstat ac_aggr; | ^~~~~~~ configure:25421: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | | | int | main () | { | static struct ipstat ac_aggr; | if (sizeof ac_aggr.ips_delivered) | return 0; | ; | return 0; | } configure:25421: result: no configure:25440: checking for struct ipstat.ips_fragdropped configure:25440: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:22: error: storage size of 'ac_aggr' isn't known 368 | static struct ipstat ac_aggr; | ^~~~~~~ configure:25440: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | | | int | main () | { | static struct ipstat ac_aggr; | if (ac_aggr.ips_fragdropped) | return 0; | ; | return 0; | } configure:25440: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:22: error: storage size of 'ac_aggr' isn't known 368 | static struct ipstat ac_aggr; | ^~~~~~~ configure:25440: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | | | int | main () | { | static struct ipstat ac_aggr; | if (sizeof ac_aggr.ips_fragdropped) | return 0; | ; | return 0; | } configure:25440: result: no configure:25459: checking for struct ipstat.ips_fragmented configure:25459: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:22: error: storage size of 'ac_aggr' isn't known 368 | static struct ipstat ac_aggr; | ^~~~~~~ configure:25459: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | | | int | main () | { | static struct ipstat ac_aggr; | if (ac_aggr.ips_fragmented) | return 0; | ; | return 0; | } configure:25459: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:22: error: storage size of 'ac_aggr' isn't known 368 | static struct ipstat ac_aggr; | ^~~~~~~ configure:25459: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | | | int | main () | { | static struct ipstat ac_aggr; | if (sizeof ac_aggr.ips_fragmented) | return 0; | ; | return 0; | } configure:25459: result: no configure:25478: checking for struct ipstat.ips_localout configure:25478: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:22: error: storage size of 'ac_aggr' isn't known 368 | static struct ipstat ac_aggr; | ^~~~~~~ configure:25478: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | | | int | main () | { | static struct ipstat ac_aggr; | if (ac_aggr.ips_localout) | return 0; | ; | return 0; | } configure:25478: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:22: error: storage size of 'ac_aggr' isn't known 368 | static struct ipstat ac_aggr; | ^~~~~~~ configure:25478: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | | | int | main () | { | static struct ipstat ac_aggr; | if (sizeof ac_aggr.ips_localout) | return 0; | ; | return 0; | } configure:25478: result: no configure:25497: checking for struct ipstat.ips_noproto configure:25497: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:22: error: storage size of 'ac_aggr' isn't known 368 | static struct ipstat ac_aggr; | ^~~~~~~ configure:25497: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | | | int | main () | { | static struct ipstat ac_aggr; | if (ac_aggr.ips_noproto) | return 0; | ; | return 0; | } configure:25497: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:22: error: storage size of 'ac_aggr' isn't known 368 | static struct ipstat ac_aggr; | ^~~~~~~ configure:25497: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | | | int | main () | { | static struct ipstat ac_aggr; | if (sizeof ac_aggr.ips_noproto) | return 0; | ; | return 0; | } configure:25497: result: no configure:25516: checking for struct ipstat.ips_noroute configure:25516: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:22: error: storage size of 'ac_aggr' isn't known 368 | static struct ipstat ac_aggr; | ^~~~~~~ configure:25516: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | | | int | main () | { | static struct ipstat ac_aggr; | if (ac_aggr.ips_noroute) | return 0; | ; | return 0; | } configure:25516: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:22: error: storage size of 'ac_aggr' isn't known 368 | static struct ipstat ac_aggr; | ^~~~~~~ configure:25516: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | | | int | main () | { | static struct ipstat ac_aggr; | if (sizeof ac_aggr.ips_noroute) | return 0; | ; | return 0; | } configure:25516: result: no configure:25535: checking for struct ipstat.ips_odropped configure:25535: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:22: error: storage size of 'ac_aggr' isn't known 368 | static struct ipstat ac_aggr; | ^~~~~~~ configure:25535: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | | | int | main () | { | static struct ipstat ac_aggr; | if (ac_aggr.ips_odropped) | return 0; | ; | return 0; | } configure:25535: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:22: error: storage size of 'ac_aggr' isn't known 368 | static struct ipstat ac_aggr; | ^~~~~~~ configure:25535: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | | | int | main () | { | static struct ipstat ac_aggr; | if (sizeof ac_aggr.ips_odropped) | return 0; | ; | return 0; | } configure:25535: result: no configure:25554: checking for struct ipstat.ips_ofragments configure:25554: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:22: error: storage size of 'ac_aggr' isn't known 368 | static struct ipstat ac_aggr; | ^~~~~~~ configure:25554: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | | | int | main () | { | static struct ipstat ac_aggr; | if (ac_aggr.ips_ofragments) | return 0; | ; | return 0; | } configure:25554: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:22: error: storage size of 'ac_aggr' isn't known 368 | static struct ipstat ac_aggr; | ^~~~~~~ configure:25554: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | | | int | main () | { | static struct ipstat ac_aggr; | if (sizeof ac_aggr.ips_ofragments) | return 0; | ; | return 0; | } configure:25554: result: no configure:25573: checking for struct ipstat.ips_reassembled configure:25573: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:22: error: storage size of 'ac_aggr' isn't known 368 | static struct ipstat ac_aggr; | ^~~~~~~ configure:25573: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | | | int | main () | { | static struct ipstat ac_aggr; | if (ac_aggr.ips_reassembled) | return 0; | ; | return 0; | } configure:25573: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:22: error: storage size of 'ac_aggr' isn't known 368 | static struct ipstat ac_aggr; | ^~~~~~~ configure:25573: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | | | int | main () | { | static struct ipstat ac_aggr; | if (sizeof ac_aggr.ips_reassembled) | return 0; | ; | return 0; | } configure:25573: result: no configure:25596: checking for struct ip6stat.ip6s_exthdrtoolong configure:25596: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:23: error: storage size of 'ac_aggr' isn't known 368 | static struct ip6stat ac_aggr; | ^~~~~~~ configure:25596: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET6_IP6_VAR_H | #include | #endif | | | int | main () | { | static struct ip6stat ac_aggr; | if (ac_aggr.ip6s_exthdrtoolong ) | return 0; | ; | return 0; | } configure:25596: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:23: error: storage size of 'ac_aggr' isn't known 368 | static struct ip6stat ac_aggr; | ^~~~~~~ configure:25596: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET6_IP6_VAR_H | #include | #endif | | | int | main () | { | static struct ip6stat ac_aggr; | if (sizeof ac_aggr.ip6s_exthdrtoolong ) | return 0; | ; | return 0; | } configure:25596: result: no configure:25619: checking for struct ipstat.ips_cantforward configure:25619: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:22: error: storage size of 'ac_aggr' isn't known 368 | static struct ipstat ac_aggr; | ^~~~~~~ configure:25619: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | | | int | main () | { | static struct ipstat ac_aggr; | if (ac_aggr.ips_cantforward) | return 0; | ; | return 0; | } configure:25619: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:22: error: storage size of 'ac_aggr' isn't known 368 | static struct ipstat ac_aggr; | ^~~~~~~ configure:25619: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | | | int | main () | { | static struct ipstat ac_aggr; | if (sizeof ac_aggr.ips_cantforward) | return 0; | ; | return 0; | } configure:25619: result: no configure:25638: checking for struct ipstat.ips_fragtimeout configure:25638: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:22: error: storage size of 'ac_aggr' isn't known 368 | static struct ipstat ac_aggr; | ^~~~~~~ configure:25638: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | | | int | main () | { | static struct ipstat ac_aggr; | if (ac_aggr.ips_fragtimeout) | return 0; | ; | return 0; | } configure:25638: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:22: error: storage size of 'ac_aggr' isn't known 368 | static struct ipstat ac_aggr; | ^~~~~~~ configure:25638: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | | | int | main () | { | static struct ipstat ac_aggr; | if (sizeof ac_aggr.ips_fragtimeout) | return 0; | ; | return 0; | } configure:25638: result: no configure:25662: checking for struct mbstat.m_clusters configure:25662: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:22: error: storage size of 'ac_aggr' isn't known 368 | static struct mbstat ac_aggr; | ^~~~~~~ configure:25662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_SYS_PARAM_H | #include | #endif | #if HAVE_SYS_MBUF_H | #include | #endif | | | int | main () | { | static struct mbstat ac_aggr; | if (ac_aggr.m_clusters) | return 0; | ; | return 0; | } configure:25662: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:22: error: storage size of 'ac_aggr' isn't known 368 | static struct mbstat ac_aggr; | ^~~~~~~ configure:25662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_SYS_PARAM_H | #include | #endif | #if HAVE_SYS_MBUF_H | #include | #endif | | | int | main () | { | static struct mbstat ac_aggr; | if (sizeof ac_aggr.m_clusters) | return 0; | ; | return 0; | } configure:25662: result: no configure:25681: checking for struct mbstat.m_clfree configure:25681: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:22: error: storage size of 'ac_aggr' isn't known 368 | static struct mbstat ac_aggr; | ^~~~~~~ configure:25681: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_SYS_PARAM_H | #include | #endif | #if HAVE_SYS_MBUF_H | #include | #endif | | | int | main () | { | static struct mbstat ac_aggr; | if (ac_aggr.m_clfree) | return 0; | ; | return 0; | } configure:25681: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:22: error: storage size of 'ac_aggr' isn't known 368 | static struct mbstat ac_aggr; | ^~~~~~~ configure:25681: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_SYS_PARAM_H | #include | #endif | #if HAVE_SYS_MBUF_H | #include | #endif | | | int | main () | { | static struct mbstat ac_aggr; | if (sizeof ac_aggr.m_clfree) | return 0; | ; | return 0; | } configure:25681: result: no configure:25700: checking for struct mbstat.m_mbufs configure:25700: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:22: error: storage size of 'ac_aggr' isn't known 368 | static struct mbstat ac_aggr; | ^~~~~~~ configure:25700: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_SYS_PARAM_H | #include | #endif | #if HAVE_SYS_MBUF_H | #include | #endif | | | int | main () | { | static struct mbstat ac_aggr; | if (ac_aggr.m_mbufs) | return 0; | ; | return 0; | } configure:25700: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:22: error: storage size of 'ac_aggr' isn't known 368 | static struct mbstat ac_aggr; | ^~~~~~~ configure:25700: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_SYS_PARAM_H | #include | #endif | #if HAVE_SYS_MBUF_H | #include | #endif | | | int | main () | { | static struct mbstat ac_aggr; | if (sizeof ac_aggr.m_mbufs) | return 0; | ; | return 0; | } configure:25700: result: no configure:25723: checking for struct uvmexp.pgswapin configure:25723: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:358:10: fatal error: uvm/uvm_extern.h: No such file or directory 358 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:25723: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | #include | | | int | main () | { | static struct uvmexp ac_aggr; | if (ac_aggr.pgswapin) | return 0; | ; | return 0; | } configure:25723: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:358:10: fatal error: uvm/uvm_extern.h: No such file or directory 358 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:25723: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | #include | | | int | main () | { | static struct uvmexp ac_aggr; | if (sizeof ac_aggr.pgswapin) | return 0; | ; | return 0; | } configure:25723: result: no configure:25742: checking for struct nlist.n_value configure:25742: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:365:21: error: storage size of 'ac_aggr' isn't known 365 | static struct nlist ac_aggr; | ^~~~~~~ configure:25742: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_NLIST_H | #include | #endif | | | int | main () | { | static struct nlist ac_aggr; | if (ac_aggr.n_value) | return 0; | ; | return 0; | } configure:25742: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:365:21: error: storage size of 'ac_aggr' isn't known 365 | static struct nlist ac_aggr; | ^~~~~~~ configure:25742: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_NLIST_H | #include | #endif | | | int | main () | { | static struct nlist ac_aggr; | if (sizeof ac_aggr.n_value) | return 0; | ; | return 0; | } configure:25742: result: no configure:25758: checking for struct nlist64.n_value configure:25758: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:365:23: error: storage size of 'ac_aggr' isn't known 365 | static struct nlist64 ac_aggr; | ^~~~~~~ configure:25758: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_NLIST_H | #include | #endif | | | int | main () | { | static struct nlist64 ac_aggr; | if (ac_aggr.n_value) | return 0; | ; | return 0; | } configure:25758: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:365:23: error: storage size of 'ac_aggr' isn't known 365 | static struct nlist64 ac_aggr; | ^~~~~~~ configure:25758: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #if HAVE_NLIST_H | #include | #endif | | | int | main () | { | static struct nlist64 ac_aggr; | if (sizeof ac_aggr.n_value) | return 0; | ; | return 0; | } configure:25758: result: no configure:25779: checking for struct sigaction.sa_sigaction configure:25779: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:25: error: storage size of 'ac_aggr' isn't known 368 | static struct sigaction ac_aggr; | ^~~~~~~ configure:25779: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_SIGNAL_H | #include | #endif | | | int | main () | { | static struct sigaction ac_aggr; | if (ac_aggr.sa_sigaction) | return 0; | ; | return 0; | } configure:25779: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:25: error: storage size of 'ac_aggr' isn't known 368 | static struct sigaction ac_aggr; | ^~~~~~~ configure:25779: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_SIGNAL_H | #include | #endif | | | int | main () | { | static struct sigaction ac_aggr; | if (sizeof ac_aggr.sa_sigaction) | return 0; | ; | return 0; | } configure:25779: result: no configure:25803: checking for struct sockaddr.sa_len configure:25803: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:374:12: error: 'struct sockaddr' has no member named 'sa_len' 374 | if (ac_aggr.sa_len) | ^ configure:25803: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #elif defined(HAVE_WINSOCK2_H) | #include | #endif | #ifdef HAVE_WS2TCPIP_H | #include | #endif | | | int | main () | { | static struct sockaddr ac_aggr; | if (ac_aggr.sa_len) | return 0; | ; | return 0; | } configure:25803: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:374:19: error: 'struct sockaddr' has no member named 'sa_len' 374 | if (sizeof ac_aggr.sa_len) | ^ configure:25803: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #elif defined(HAVE_WINSOCK2_H) | #include | #endif | #ifdef HAVE_WS2TCPIP_H | #include | #endif | | | int | main () | { | static struct sockaddr ac_aggr; | if (sizeof ac_aggr.sa_len) | return 0; | ; | return 0; | } configure:25803: result: no configure:25827: checking for struct sockaddr.sa_union.sa_generic.sa_family2 configure:25827: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:374:12: error: 'struct sockaddr' has no member named 'sa_union' 374 | if (ac_aggr.sa_union.sa_generic.sa_family2) | ^ configure:25827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #elif defined(HAVE_WINSOCK2_H) | #include | #endif | #ifdef HAVE_WS2TCPIP_H | #include | #endif | | | int | main () | { | static struct sockaddr ac_aggr; | if (ac_aggr.sa_union.sa_generic.sa_family2) | return 0; | ; | return 0; | } configure:25827: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:374:19: error: 'struct sockaddr' has no member named 'sa_union' 374 | if (sizeof ac_aggr.sa_union.sa_generic.sa_family2) | ^ configure:25827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 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 | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #elif defined(HAVE_WINSOCK2_H) | #include | #endif | #ifdef HAVE_WS2TCPIP_H | #include | #endif | | | int | main () | { | static struct sockaddr ac_aggr; | if (sizeof ac_aggr.sa_union.sa_generic.sa_family2) | return 0; | ; | return 0; | } configure:25827: result: no configure:25851: checking for struct sockaddr_storage.ss_family configure:25851: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:25851: $? = 0 configure:25851: result: yes configure:25875: checking for struct sockaddr_storage.__ss_family configure:25875: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:375:13: error: 'struct sockaddr_storage' has no member named '__ss_family'; did you mean 'ss_family'? 375 | if (ac_aggr.__ss_family) | ^~~~~~~~~~~ | ss_family configure:25875: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 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 | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #elif defined(HAVE_WINSOCK2_H) | #include | #endif | #ifdef HAVE_WS2TCPIP_H | #include | #endif | | | int | main () | { | static struct sockaddr_storage ac_aggr; | if (ac_aggr.__ss_family) | return 0; | ; | return 0; | } configure:25875: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:375:20: error: 'struct sockaddr_storage' has no member named '__ss_family'; did you mean 'ss_family'? 375 | if (sizeof ac_aggr.__ss_family) | ^~~~~~~~~~~ | ss_family configure:25875: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 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 | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #elif defined(HAVE_WINSOCK2_H) | #include | #endif | #ifdef HAVE_WS2TCPIP_H | #include | #endif | | | int | main () | { | static struct sockaddr_storage ac_aggr; | if (sizeof ac_aggr.__ss_family) | return 0; | ; | return 0; | } configure:25875: result: no configure:25904: checking for struct sockaddr_in6.sin6_scope_id configure:25904: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:25904: $? = 0 configure:25904: result: yes configure:25941: checking size of sockaddr_un.sun_path configure:25946: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:25946: $? = 0 configure:25946: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:12: error: size of array 'test_array' is negative 368 | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 0)]; | ^~~~~~~~~~ configure:25946: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 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 | | #if HAVE_SYS_UN_H | #include | #endif | struct sockaddr_un sockaddr_un; | | | int | main () | { | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 0)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:25946: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:12: error: size of array 'test_array' is negative 368 | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 1)]; | ^~~~~~~~~~ configure:25946: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 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 | | #if HAVE_SYS_UN_H | #include | #endif | struct sockaddr_un sockaddr_un; | | | int | main () | { | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 1)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:25946: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:12: error: size of array 'test_array' is negative 368 | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 3)]; | ^~~~~~~~~~ configure:25946: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 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 | | #if HAVE_SYS_UN_H | #include | #endif | struct sockaddr_un sockaddr_un; | | | int | main () | { | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 3)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:25946: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:12: error: size of array 'test_array' is negative 368 | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 7)]; | ^~~~~~~~~~ configure:25946: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 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 | | #if HAVE_SYS_UN_H | #include | #endif | struct sockaddr_un sockaddr_un; | | | int | main () | { | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 7)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:25946: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:12: error: size of array 'test_array' is negative 368 | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 15)]; | ^~~~~~~~~~ configure:25946: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 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 | | #if HAVE_SYS_UN_H | #include | #endif | struct sockaddr_un sockaddr_un; | | | int | main () | { | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 15)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:25946: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:12: error: size of array 'test_array' is negative 368 | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 31)]; | ^~~~~~~~~~ configure:25946: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 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 | | #if HAVE_SYS_UN_H | #include | #endif | struct sockaddr_un sockaddr_un; | | | int | main () | { | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 31)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:25946: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:12: error: size of array 'test_array' is negative 368 | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 63)]; | ^~~~~~~~~~ configure:25946: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 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 | | #if HAVE_SYS_UN_H | #include | #endif | struct sockaddr_un sockaddr_un; | | | int | main () | { | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 63)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:25946: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:25946: $? = 0 configure:25946: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:12: error: size of array 'test_array' is negative 368 | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 95)]; | ^~~~~~~~~~ configure:25946: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 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 | | #if HAVE_SYS_UN_H | #include | #endif | struct sockaddr_un sockaddr_un; | | | int | main () | { | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 95)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:25946: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:25946: $? = 0 configure:25946: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:12: error: size of array 'test_array' is negative 368 | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 103)]; | ^~~~~~~~~~ configure:25946: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 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 | | #if HAVE_SYS_UN_H | #include | #endif | struct sockaddr_un sockaddr_un; | | | int | main () | { | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 103)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:25946: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:368:12: error: size of array 'test_array' is negative 368 | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 107)]; | ^~~~~~~~~~ configure:25946: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 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 | | #if HAVE_SYS_UN_H | #include | #endif | struct sockaddr_un sockaddr_un; | | | int | main () | { | static int test_array [1 - 2 * !(((long int) (sizeof (sockaddr_un.sun_path))) <= 107)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:25946: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:25946: $? = 0 configure:25946: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:25946: $? = 0 configure:25968: result: 108 configure:25982: checking for struct statfs.f_favail configure:25982: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:378:13: error: 'struct statfs' has no member named 'f_favail'; did you mean 'f_bavail'? 378 | if (ac_aggr.f_favail) | ^~~~~~~~ | f_bavail configure:25982: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | /* 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 | | #if HAVE_SYS_STATFS_H | #include | #endif | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_MOUNT_H | #include | #endif | #ifdef HAVE_NBUTIL_H | #include | #endif | | | int | main () | { | static struct statfs ac_aggr; | if (ac_aggr.f_favail) | return 0; | ; | return 0; | } configure:25982: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:378:20: error: 'struct statfs' has no member named 'f_favail'; did you mean 'f_bavail'? 378 | if (sizeof ac_aggr.f_favail) | ^~~~~~~~ | f_bavail configure:25982: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | /* 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 | | #if HAVE_SYS_STATFS_H | #include | #endif | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_MOUNT_H | #include | #endif | #ifdef HAVE_NBUTIL_H | #include | #endif | | | int | main () | { | static struct statfs ac_aggr; | if (sizeof ac_aggr.f_favail) | return 0; | ; | return 0; | } configure:25982: result: no configure:26007: checking for struct statfs.f_ffree configure:26007: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:26007: $? = 0 configure:26007: result: yes configure:26032: checking for struct statfs.f_files configure:26032: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:26032: $? = 0 configure:26032: result: yes configure:26057: checking for struct statfs.f_flags configure:26057: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:26057: $? = 0 configure:26057: result: yes configure:26082: checking for struct statfs.f_frsize configure:26082: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:26082: $? = 0 configure:26082: result: yes configure:26112: checking for struct statvfs.f_files configure:26112: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:26112: $? = 0 configure:26112: result: yes configure:26131: checking for struct statvfs.f_frsize configure:26131: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:26131: $? = 0 configure:26131: result: yes configure:26150: checking for struct statvfs.mnt_dir configure:26150: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:378:12: error: 'struct statvfs' has no member named 'mnt_dir' 378 | if (ac_aggr.mnt_dir) | ^ configure:26150: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 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 | | #if HAVE_SYS_STATFS_H | #include | #endif | #if HAVE_SYS_STATVFS_H | #include | #endif | | | int | main () | { | static struct statvfs ac_aggr; | if (ac_aggr.mnt_dir) | return 0; | ; | return 0; | } configure:26150: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:378:19: error: 'struct statvfs' has no member named 'mnt_dir' 378 | if (sizeof ac_aggr.mnt_dir) | ^ configure:26150: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 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 | | #if HAVE_SYS_STATFS_H | #include | #endif | #if HAVE_SYS_STATVFS_H | #include | #endif | | | int | main () | { | static struct statvfs ac_aggr; | if (sizeof ac_aggr.mnt_dir) | return 0; | ; | return 0; | } configure:26150: result: no configure:26174: checking for struct swdevt.sw_nblksenabled configure:26174: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:377:22: error: storage size of 'ac_aggr' isn't known 377 | static struct swdevt ac_aggr; | ^~~~~~~ configure:26174: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 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 | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #if HAVE_SYS_CONF_H | #include | #endif | | | int | main () | { | static struct swdevt ac_aggr; | if (ac_aggr.sw_nblksenabled) | return 0; | ; | return 0; | } configure:26174: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:377:22: error: storage size of 'ac_aggr' isn't known 377 | static struct swdevt ac_aggr; | ^~~~~~~ configure:26174: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 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 | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #if HAVE_SYS_CONF_H | #include | #endif | | | int | main () | { | static struct swdevt ac_aggr; | if (sizeof ac_aggr.sw_nblksenabled) | return 0; | ; | return 0; | } configure:26174: result: no configure:26198: checking for struct tcpstat.tcp_rcvmemdrop configure:26198: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:386:23: error: storage size of 'ac_aggr' isn't known 386 | static struct tcpstat ac_aggr; | ^~~~~~~ configure:26198: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 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 | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_TIMEOUT_H | #include | #endif | #ifdef HAVE_NETINET_TCP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_TIMER_H | #include | #endif | #ifdef HAVE_NETINET_TCP_VAR_H | #include | #endif | | | int | main () | { | static struct tcpstat ac_aggr; | if (ac_aggr.tcp_rcvmemdrop) | return 0; | ; | return 0; | } configure:26198: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:386:23: error: storage size of 'ac_aggr' isn't known 386 | static struct tcpstat ac_aggr; | ^~~~~~~ configure:26198: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 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 | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_TIMEOUT_H | #include | #endif | #ifdef HAVE_NETINET_TCP_H | #include | #endif | #ifdef HAVE_NETINET_TCP_TIMER_H | #include | #endif | #ifdef HAVE_NETINET_TCP_VAR_H | #include | #endif | | | int | main () | { | static struct tcpstat ac_aggr; | if (sizeof ac_aggr.tcp_rcvmemdrop) | return 0; | ; | return 0; | } configure:26198: result: no configure:26231: checking for struct tm.tm_gmtoff configure:26231: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:26231: $? = 0 configure:26231: result: yes configure:26254: checking for struct tm.tm_isdst configure:26254: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:26254: $? = 0 configure:26254: result: yes configure:26279: checking whether daylight is declared configure:26279: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:26279: $? = 0 configure:26279: result: yes configure:26301: checking whether timezone is declared configure:26301: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:26301: $? = 0 configure:26301: result: yes configure:26325: checking whether timezone is a scalar configure:26352: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:26352: $? = 0 configure:26353: result: yes configure:26367: checking for struct timezone.tz_dsttime configure:26367: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:26367: $? = 0 configure:26367: result: yes configure:26398: checking for struct udpstat.udps_discard configure:26398: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:389:23: error: storage size of 'ac_aggr' isn't known 389 | static struct udpstat ac_aggr; | ^~~~~~~ configure:26398: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_UDP_VAR_H | #include | #endif | | | int | main () | { | static struct udpstat ac_aggr; | if (ac_aggr.udps_discard) | return 0; | ; | return 0; | } configure:26398: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:389:23: error: storage size of 'ac_aggr' isn't known 389 | static struct udpstat ac_aggr; | ^~~~~~~ configure:26398: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_UDP_VAR_H | #include | #endif | | | int | main () | { | static struct udpstat ac_aggr; | if (sizeof ac_aggr.udps_discard) | return 0; | ; | return 0; | } configure:26398: result: no configure:26423: checking for struct udpstat.udps_fullsock configure:26423: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:389:23: error: storage size of 'ac_aggr' isn't known 389 | static struct udpstat ac_aggr; | ^~~~~~~ configure:26423: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_UDP_VAR_H | #include | #endif | | | int | main () | { | static struct udpstat ac_aggr; | if (ac_aggr.udps_fullsock) | return 0; | ; | return 0; | } configure:26423: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:389:23: error: storage size of 'ac_aggr' isn't known 389 | static struct udpstat ac_aggr; | ^~~~~~~ configure:26423: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_UDP_VAR_H | #include | #endif | | | int | main () | { | static struct udpstat ac_aggr; | if (sizeof ac_aggr.udps_fullsock) | return 0; | ; | return 0; | } configure:26423: result: no configure:26448: checking for struct udpstat.udps_noport configure:26448: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:389:23: error: storage size of 'ac_aggr' isn't known 389 | static struct udpstat ac_aggr; | ^~~~~~~ configure:26448: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_UDP_VAR_H | #include | #endif | | | int | main () | { | static struct udpstat ac_aggr; | if (ac_aggr.udps_noport) | return 0; | ; | return 0; | } configure:26448: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:389:23: error: storage size of 'ac_aggr' isn't known 389 | static struct udpstat ac_aggr; | ^~~~~~~ configure:26448: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_UDP_VAR_H | #include | #endif | | | int | main () | { | static struct udpstat ac_aggr; | if (sizeof ac_aggr.udps_noport) | return 0; | ; | return 0; | } configure:26448: result: no configure:26473: checking for struct udpstat.udps_noportbcast configure:26473: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:389:23: error: storage size of 'ac_aggr' isn't known 389 | static struct udpstat ac_aggr; | ^~~~~~~ configure:26473: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_UDP_VAR_H | #include | #endif | | | int | main () | { | static struct udpstat ac_aggr; | if (ac_aggr.udps_noportbcast) | return 0; | ; | return 0; | } configure:26473: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:389:23: error: storage size of 'ac_aggr' isn't known 389 | static struct udpstat ac_aggr; | ^~~~~~~ configure:26473: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_UDP_VAR_H | #include | #endif | | | int | main () | { | static struct udpstat ac_aggr; | if (sizeof ac_aggr.udps_noportbcast) | return 0; | ; | return 0; | } configure:26473: result: no configure:26498: checking for struct udpstat.udps_ipackets configure:26498: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:389:23: error: storage size of 'ac_aggr' isn't known 389 | static struct udpstat ac_aggr; | ^~~~~~~ configure:26498: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_UDP_VAR_H | #include | #endif | | | int | main () | { | static struct udpstat ac_aggr; | if (ac_aggr.udps_ipackets) | return 0; | ; | return 0; | } configure:26498: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:389:23: error: storage size of 'ac_aggr' isn't known 389 | static struct udpstat ac_aggr; | ^~~~~~~ configure:26498: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_UDP_VAR_H | #include | #endif | | | int | main () | { | static struct udpstat ac_aggr; | if (sizeof ac_aggr.udps_ipackets) | return 0; | ; | return 0; | } configure:26498: result: no configure:26523: checking for struct udpstat.udps_opackets configure:26523: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:389:23: error: storage size of 'ac_aggr' isn't known 389 | static struct udpstat ac_aggr; | ^~~~~~~ configure:26523: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_UDP_VAR_H | #include | #endif | | | int | main () | { | static struct udpstat ac_aggr; | if (ac_aggr.udps_opackets) | return 0; | ; | return 0; | } configure:26523: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:389:23: error: storage size of 'ac_aggr' isn't known 389 | static struct udpstat ac_aggr; | ^~~~~~~ configure:26523: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 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 | | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_NETINET_IP_VAR_H | #include | #endif | #if HAVE_NETINET_UDP_H | #include | #endif | #if HAVE_NETINET_UDP_VAR_H | #include | #endif | | | int | main () | { | static struct udpstat ac_aggr; | if (sizeof ac_aggr.udps_opackets) | return 0; | ; | return 0; | } configure:26523: result: no configure:26558: checking if _KERNEL needs to be defined for if_mtu configure:26589: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:355:14: error: storage size of 'test' isn't known 355 | struct ifnet test; test.if_mtu = 0; | ^~~~ configure:26589: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 1 | /* end confdefs.h. */ | | #include | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | | int | main () | { | struct ifnet test; test.if_mtu = 0; | ; | return 0; | } configure:26620: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:356:14: error: storage size of 'test' isn't known 356 | struct ifnet test; test.if_mtu = 0; | ^~~~ configure:26620: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 1 | /* end confdefs.h. */ | | #define _KERNEL 1 | #include | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | | int | main () | { | struct ifnet test; test.if_mtu = 0; | ; | return 0; | } configure:26626: result: unknown configure:26637: checking if _KERNEL_STRUCTURES needs to be defined for if_mtu configure:26668: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:355:14: error: storage size of 'test' isn't known 355 | struct ifnet test; test.if_mtu = 0; | ^~~~ configure:26668: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 1 | /* end confdefs.h. */ | | #include | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | | int | main () | { | struct ifnet test; test.if_mtu = 0; | ; | return 0; | } configure:26699: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:356:14: error: storage size of 'test' isn't known 356 | struct ifnet test; test.if_mtu = 0; | ^~~~ configure:26699: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 1 | /* end confdefs.h. */ | | #define _KERNEL_STRUCTURES 1 | #include | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | | int | main () | { | struct ifnet test; test.if_mtu = 0; | ; | return 0; | } configure:26705: result: unknown configure:26718: checking for struct ifaddr.ifa_next configure:26718: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:26718: $? = 0 configure:26718: result: yes configure:26763: checking for struct ifnet.if_addrlist configure:26763: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:404:13: error: 'struct ifnet' has no member named 'if_addrlist'; did you mean 'if_addr'? 404 | if (ac_aggr.if_addrlist) | ^~~~~~~~~~~ | if_addr configure:26763: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 1 | #define HAVE_STRUCT_IFADDR_IFA_NEXT 1 | /* end confdefs.h. */ | | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_SYS_QUEUE_H | #include | #endif | #ifdef linux | struct ifnet { | char *if_name; /* name, e.g. "en" or "lo" */ | short if_unit; /* sub-unit for lower level driver */ | short if_mtu; /* maximum transmission unit */ | short if_flags; /* up/down, broadcast, etc. */ | int if_metric; /* routing metric (external only) */ | char if_hwaddr [6]; /* ethernet address */ | int if_type; /* interface type: 1=generic, | 28=slip, ether=6, loopback=24 */ | int if_speed; /* interface speed: in bits/sec */ | | struct sockaddr if_addr; /* interface's address */ | struct sockaddr ifu_broadaddr; /* broadcast address */ | struct sockaddr ia_subnetmask; /* interface's mask */ | | struct ifqueue { | int ifq_len; | int ifq_drops; | } if_snd; /* output queue */ | int if_ibytes; /* octets received on interface */ | int if_ipackets; /* packets received on interface */ | int if_ierrors; /* input errors on interface */ | int if_iqdrops; /* input queue overruns */ | int if_obytes; /* octets sent on interface */ | int if_opackets; /* packets sent on interface */ | int if_oerrors; /* output errors on interface */ | int if_collisions; /* collisions on csma interfaces */ | /* end statistics */ | struct ifnet *if_next; | }; | #endif | | | int | main () | { | static struct ifnet ac_aggr; | if (ac_aggr.if_addrlist) | return 0; | ; | return 0; | } configure:26763: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:404:20: error: 'struct ifnet' has no member named 'if_addrlist'; did you mean 'if_addr'? 404 | if (sizeof ac_aggr.if_addrlist) | ^~~~~~~~~~~ | if_addr configure:26763: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 1 | #define HAVE_STRUCT_IFADDR_IFA_NEXT 1 | /* end confdefs.h. */ | | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_SYS_QUEUE_H | #include | #endif | #ifdef linux | struct ifnet { | char *if_name; /* name, e.g. "en" or "lo" */ | short if_unit; /* sub-unit for lower level driver */ | short if_mtu; /* maximum transmission unit */ | short if_flags; /* up/down, broadcast, etc. */ | int if_metric; /* routing metric (external only) */ | char if_hwaddr [6]; /* ethernet address */ | int if_type; /* interface type: 1=generic, | 28=slip, ether=6, loopback=24 */ | int if_speed; /* interface speed: in bits/sec */ | | struct sockaddr if_addr; /* interface's address */ | struct sockaddr ifu_broadaddr; /* broadcast address */ | struct sockaddr ia_subnetmask; /* interface's mask */ | | struct ifqueue { | int ifq_len; | int ifq_drops; | } if_snd; /* output queue */ | int if_ibytes; /* octets received on interface */ | int if_ipackets; /* packets received on interface */ | int if_ierrors; /* input errors on interface */ | int if_iqdrops; /* input queue overruns */ | int if_obytes; /* octets sent on interface */ | int if_opackets; /* packets sent on interface */ | int if_oerrors; /* output errors on interface */ | int if_collisions; /* collisions on csma interfaces */ | /* end statistics */ | struct ifnet *if_next; | }; | #endif | | | int | main () | { | static struct ifnet ac_aggr; | if (sizeof ac_aggr.if_addrlist) | return 0; | ; | return 0; | } configure:26763: result: no configure:26833: checking for struct ifnet.if_addrhead.tqh_first configure:26833: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:404:13: error: 'struct ifnet' has no member named 'if_addrhead'; did you mean 'if_addr'? 404 | if (ac_aggr.if_addrhead.tqh_first) | ^~~~~~~~~~~ | if_addr configure:26833: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 1 | #define HAVE_STRUCT_IFADDR_IFA_NEXT 1 | /* end confdefs.h. */ | | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_SYS_QUEUE_H | #include | #endif | #ifdef linux | struct ifnet { | char *if_name; /* name, e.g. "en" or "lo" */ | short if_unit; /* sub-unit for lower level driver */ | short if_mtu; /* maximum transmission unit */ | short if_flags; /* up/down, broadcast, etc. */ | int if_metric; /* routing metric (external only) */ | char if_hwaddr [6]; /* ethernet address */ | int if_type; /* interface type: 1=generic, | 28=slip, ether=6, loopback=24 */ | int if_speed; /* interface speed: in bits/sec */ | | struct sockaddr if_addr; /* interface's address */ | struct sockaddr ifu_broadaddr; /* broadcast address */ | struct sockaddr ia_subnetmask; /* interface's mask */ | | struct ifqueue { | int ifq_len; | int ifq_drops; | } if_snd; /* output queue */ | int if_ibytes; /* octets received on interface */ | int if_ipackets; /* packets received on interface */ | int if_ierrors; /* input errors on interface */ | int if_iqdrops; /* input queue overruns */ | int if_obytes; /* octets sent on interface */ | int if_opackets; /* packets sent on interface */ | int if_oerrors; /* output errors on interface */ | int if_collisions; /* collisions on csma interfaces */ | /* end statistics */ | struct ifnet *if_next; | }; | #endif | | | int | main () | { | static struct ifnet ac_aggr; | if (ac_aggr.if_addrhead.tqh_first) | return 0; | ; | return 0; | } configure:26833: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:404:20: error: 'struct ifnet' has no member named 'if_addrhead'; did you mean 'if_addr'? 404 | if (sizeof ac_aggr.if_addrhead.tqh_first) | ^~~~~~~~~~~ | if_addr configure:26833: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 1 | #define HAVE_STRUCT_IFADDR_IFA_NEXT 1 | /* end confdefs.h. */ | | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_SYS_QUEUE_H | #include | #endif | #ifdef linux | struct ifnet { | char *if_name; /* name, e.g. "en" or "lo" */ | short if_unit; /* sub-unit for lower level driver */ | short if_mtu; /* maximum transmission unit */ | short if_flags; /* up/down, broadcast, etc. */ | int if_metric; /* routing metric (external only) */ | char if_hwaddr [6]; /* ethernet address */ | int if_type; /* interface type: 1=generic, | 28=slip, ether=6, loopback=24 */ | int if_speed; /* interface speed: in bits/sec */ | | struct sockaddr if_addr; /* interface's address */ | struct sockaddr ifu_broadaddr; /* broadcast address */ | struct sockaddr ia_subnetmask; /* interface's mask */ | | struct ifqueue { | int ifq_len; | int ifq_drops; | } if_snd; /* output queue */ | int if_ibytes; /* octets received on interface */ | int if_ipackets; /* packets received on interface */ | int if_ierrors; /* input errors on interface */ | int if_iqdrops; /* input queue overruns */ | int if_obytes; /* octets sent on interface */ | int if_opackets; /* packets sent on interface */ | int if_oerrors; /* output errors on interface */ | int if_collisions; /* collisions on csma interfaces */ | /* end statistics */ | struct ifnet *if_next; | }; | #endif | | | int | main () | { | static struct ifnet ac_aggr; | if (sizeof ac_aggr.if_addrhead.tqh_first) | return 0; | ; | return 0; | } configure:26833: result: no configure:26903: checking for struct ifnet.if_baudrate configure:26903: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:404:12: error: 'struct ifnet' has no member named 'if_baudrate' 404 | if (ac_aggr.if_baudrate) | ^ configure:26903: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 1 | #define HAVE_STRUCT_IFADDR_IFA_NEXT 1 | /* end confdefs.h. */ | | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_SYS_QUEUE_H | #include | #endif | #ifdef linux | struct ifnet { | char *if_name; /* name, e.g. "en" or "lo" */ | short if_unit; /* sub-unit for lower level driver */ | short if_mtu; /* maximum transmission unit */ | short if_flags; /* up/down, broadcast, etc. */ | int if_metric; /* routing metric (external only) */ | char if_hwaddr [6]; /* ethernet address */ | int if_type; /* interface type: 1=generic, | 28=slip, ether=6, loopback=24 */ | int if_speed; /* interface speed: in bits/sec */ | | struct sockaddr if_addr; /* interface's address */ | struct sockaddr ifu_broadaddr; /* broadcast address */ | struct sockaddr ia_subnetmask; /* interface's mask */ | | struct ifqueue { | int ifq_len; | int ifq_drops; | } if_snd; /* output queue */ | int if_ibytes; /* octets received on interface */ | int if_ipackets; /* packets received on interface */ | int if_ierrors; /* input errors on interface */ | int if_iqdrops; /* input queue overruns */ | int if_obytes; /* octets sent on interface */ | int if_opackets; /* packets sent on interface */ | int if_oerrors; /* output errors on interface */ | int if_collisions; /* collisions on csma interfaces */ | /* end statistics */ | struct ifnet *if_next; | }; | #endif | | | int | main () | { | static struct ifnet ac_aggr; | if (ac_aggr.if_baudrate) | return 0; | ; | return 0; | } configure:26903: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:404:19: error: 'struct ifnet' has no member named 'if_baudrate' 404 | if (sizeof ac_aggr.if_baudrate) | ^ configure:26903: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 1 | #define HAVE_STRUCT_IFADDR_IFA_NEXT 1 | /* end confdefs.h. */ | | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_SYS_QUEUE_H | #include | #endif | #ifdef linux | struct ifnet { | char *if_name; /* name, e.g. "en" or "lo" */ | short if_unit; /* sub-unit for lower level driver */ | short if_mtu; /* maximum transmission unit */ | short if_flags; /* up/down, broadcast, etc. */ | int if_metric; /* routing metric (external only) */ | char if_hwaddr [6]; /* ethernet address */ | int if_type; /* interface type: 1=generic, | 28=slip, ether=6, loopback=24 */ | int if_speed; /* interface speed: in bits/sec */ | | struct sockaddr if_addr; /* interface's address */ | struct sockaddr ifu_broadaddr; /* broadcast address */ | struct sockaddr ia_subnetmask; /* interface's mask */ | | struct ifqueue { | int ifq_len; | int ifq_drops; | } if_snd; /* output queue */ | int if_ibytes; /* octets received on interface */ | int if_ipackets; /* packets received on interface */ | int if_ierrors; /* input errors on interface */ | int if_iqdrops; /* input queue overruns */ | int if_obytes; /* octets sent on interface */ | int if_opackets; /* packets sent on interface */ | int if_oerrors; /* output errors on interface */ | int if_collisions; /* collisions on csma interfaces */ | /* end statistics */ | struct ifnet *if_next; | }; | #endif | | | int | main () | { | static struct ifnet ac_aggr; | if (sizeof ac_aggr.if_baudrate) | return 0; | ; | return 0; | } configure:26903: result: no configure:26973: checking for struct ifnet.if_baudrate.ifs_value configure:26973: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:404:12: error: 'struct ifnet' has no member named 'if_baudrate' 404 | if (ac_aggr.if_baudrate.ifs_value) | ^ configure:26973: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 1 | #define HAVE_STRUCT_IFADDR_IFA_NEXT 1 | /* end confdefs.h. */ | | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_SYS_QUEUE_H | #include | #endif | #ifdef linux | struct ifnet { | char *if_name; /* name, e.g. "en" or "lo" */ | short if_unit; /* sub-unit for lower level driver */ | short if_mtu; /* maximum transmission unit */ | short if_flags; /* up/down, broadcast, etc. */ | int if_metric; /* routing metric (external only) */ | char if_hwaddr [6]; /* ethernet address */ | int if_type; /* interface type: 1=generic, | 28=slip, ether=6, loopback=24 */ | int if_speed; /* interface speed: in bits/sec */ | | struct sockaddr if_addr; /* interface's address */ | struct sockaddr ifu_broadaddr; /* broadcast address */ | struct sockaddr ia_subnetmask; /* interface's mask */ | | struct ifqueue { | int ifq_len; | int ifq_drops; | } if_snd; /* output queue */ | int if_ibytes; /* octets received on interface */ | int if_ipackets; /* packets received on interface */ | int if_ierrors; /* input errors on interface */ | int if_iqdrops; /* input queue overruns */ | int if_obytes; /* octets sent on interface */ | int if_opackets; /* packets sent on interface */ | int if_oerrors; /* output errors on interface */ | int if_collisions; /* collisions on csma interfaces */ | /* end statistics */ | struct ifnet *if_next; | }; | #endif | | | int | main () | { | static struct ifnet ac_aggr; | if (ac_aggr.if_baudrate.ifs_value) | return 0; | ; | return 0; | } configure:26973: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:404:19: error: 'struct ifnet' has no member named 'if_baudrate' 404 | if (sizeof ac_aggr.if_baudrate.ifs_value) | ^ configure:26973: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 1 | #define HAVE_STRUCT_IFADDR_IFA_NEXT 1 | /* end confdefs.h. */ | | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_SYS_QUEUE_H | #include | #endif | #ifdef linux | struct ifnet { | char *if_name; /* name, e.g. "en" or "lo" */ | short if_unit; /* sub-unit for lower level driver */ | short if_mtu; /* maximum transmission unit */ | short if_flags; /* up/down, broadcast, etc. */ | int if_metric; /* routing metric (external only) */ | char if_hwaddr [6]; /* ethernet address */ | int if_type; /* interface type: 1=generic, | 28=slip, ether=6, loopback=24 */ | int if_speed; /* interface speed: in bits/sec */ | | struct sockaddr if_addr; /* interface's address */ | struct sockaddr ifu_broadaddr; /* broadcast address */ | struct sockaddr ia_subnetmask; /* interface's mask */ | | struct ifqueue { | int ifq_len; | int ifq_drops; | } if_snd; /* output queue */ | int if_ibytes; /* octets received on interface */ | int if_ipackets; /* packets received on interface */ | int if_ierrors; /* input errors on interface */ | int if_iqdrops; /* input queue overruns */ | int if_obytes; /* octets sent on interface */ | int if_opackets; /* packets sent on interface */ | int if_oerrors; /* output errors on interface */ | int if_collisions; /* collisions on csma interfaces */ | /* end statistics */ | struct ifnet *if_next; | }; | #endif | | | int | main () | { | static struct ifnet ac_aggr; | if (sizeof ac_aggr.if_baudrate.ifs_value) | return 0; | ; | return 0; | } configure:26973: result: no configure:27043: checking for struct ifnet.if_ibytes configure:27043: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27043: $? = 0 configure:27043: result: yes configure:27113: checking for struct ifnet.if_imcasts configure:27113: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:405:12: error: 'struct ifnet' has no member named 'if_imcasts' 405 | if (ac_aggr.if_imcasts) | ^ configure:27113: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 1 | #define HAVE_STRUCT_IFADDR_IFA_NEXT 1 | #define HAVE_STRUCT_IFNET_IF_IBYTES 1 | /* end confdefs.h. */ | | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_SYS_QUEUE_H | #include | #endif | #ifdef linux | struct ifnet { | char *if_name; /* name, e.g. "en" or "lo" */ | short if_unit; /* sub-unit for lower level driver */ | short if_mtu; /* maximum transmission unit */ | short if_flags; /* up/down, broadcast, etc. */ | int if_metric; /* routing metric (external only) */ | char if_hwaddr [6]; /* ethernet address */ | int if_type; /* interface type: 1=generic, | 28=slip, ether=6, loopback=24 */ | int if_speed; /* interface speed: in bits/sec */ | | struct sockaddr if_addr; /* interface's address */ | struct sockaddr ifu_broadaddr; /* broadcast address */ | struct sockaddr ia_subnetmask; /* interface's mask */ | | struct ifqueue { | int ifq_len; | int ifq_drops; | } if_snd; /* output queue */ | int if_ibytes; /* octets received on interface */ | int if_ipackets; /* packets received on interface */ | int if_ierrors; /* input errors on interface */ | int if_iqdrops; /* input queue overruns */ | int if_obytes; /* octets sent on interface */ | int if_opackets; /* packets sent on interface */ | int if_oerrors; /* output errors on interface */ | int if_collisions; /* collisions on csma interfaces */ | /* end statistics */ | struct ifnet *if_next; | }; | #endif | | | int | main () | { | static struct ifnet ac_aggr; | if (ac_aggr.if_imcasts) | return 0; | ; | return 0; | } configure:27113: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:405:19: error: 'struct ifnet' has no member named 'if_imcasts' 405 | if (sizeof ac_aggr.if_imcasts) | ^ configure:27113: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 1 | #define HAVE_STRUCT_IFADDR_IFA_NEXT 1 | #define HAVE_STRUCT_IFNET_IF_IBYTES 1 | /* end confdefs.h. */ | | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_SYS_QUEUE_H | #include | #endif | #ifdef linux | struct ifnet { | char *if_name; /* name, e.g. "en" or "lo" */ | short if_unit; /* sub-unit for lower level driver */ | short if_mtu; /* maximum transmission unit */ | short if_flags; /* up/down, broadcast, etc. */ | int if_metric; /* routing metric (external only) */ | char if_hwaddr [6]; /* ethernet address */ | int if_type; /* interface type: 1=generic, | 28=slip, ether=6, loopback=24 */ | int if_speed; /* interface speed: in bits/sec */ | | struct sockaddr if_addr; /* interface's address */ | struct sockaddr ifu_broadaddr; /* broadcast address */ | struct sockaddr ia_subnetmask; /* interface's mask */ | | struct ifqueue { | int ifq_len; | int ifq_drops; | } if_snd; /* output queue */ | int if_ibytes; /* octets received on interface */ | int if_ipackets; /* packets received on interface */ | int if_ierrors; /* input errors on interface */ | int if_iqdrops; /* input queue overruns */ | int if_obytes; /* octets sent on interface */ | int if_opackets; /* packets sent on interface */ | int if_oerrors; /* output errors on interface */ | int if_collisions; /* collisions on csma interfaces */ | /* end statistics */ | struct ifnet *if_next; | }; | #endif | | | int | main () | { | static struct ifnet ac_aggr; | if (sizeof ac_aggr.if_imcasts) | return 0; | ; | return 0; | } configure:27113: result: no configure:27183: checking for struct ifnet.if_iqdrops configure:27183: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27183: $? = 0 configure:27183: result: yes configure:27253: checking for struct ifnet.if_lastchange.tv_sec configure:27253: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:406:12: error: 'struct ifnet' has no member named 'if_lastchange' 406 | if (ac_aggr.if_lastchange.tv_sec) | ^ configure:27253: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 1 | #define HAVE_STRUCT_IFADDR_IFA_NEXT 1 | #define HAVE_STRUCT_IFNET_IF_IBYTES 1 | #define HAVE_STRUCT_IFNET_IF_IQDROPS 1 | /* end confdefs.h. */ | | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_SYS_QUEUE_H | #include | #endif | #ifdef linux | struct ifnet { | char *if_name; /* name, e.g. "en" or "lo" */ | short if_unit; /* sub-unit for lower level driver */ | short if_mtu; /* maximum transmission unit */ | short if_flags; /* up/down, broadcast, etc. */ | int if_metric; /* routing metric (external only) */ | char if_hwaddr [6]; /* ethernet address */ | int if_type; /* interface type: 1=generic, | 28=slip, ether=6, loopback=24 */ | int if_speed; /* interface speed: in bits/sec */ | | struct sockaddr if_addr; /* interface's address */ | struct sockaddr ifu_broadaddr; /* broadcast address */ | struct sockaddr ia_subnetmask; /* interface's mask */ | | struct ifqueue { | int ifq_len; | int ifq_drops; | } if_snd; /* output queue */ | int if_ibytes; /* octets received on interface */ | int if_ipackets; /* packets received on interface */ | int if_ierrors; /* input errors on interface */ | int if_iqdrops; /* input queue overruns */ | int if_obytes; /* octets sent on interface */ | int if_opackets; /* packets sent on interface */ | int if_oerrors; /* output errors on interface */ | int if_collisions; /* collisions on csma interfaces */ | /* end statistics */ | struct ifnet *if_next; | }; | #endif | | | int | main () | { | static struct ifnet ac_aggr; | if (ac_aggr.if_lastchange.tv_sec) | return 0; | ; | return 0; | } configure:27253: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:406:19: error: 'struct ifnet' has no member named 'if_lastchange' 406 | if (sizeof ac_aggr.if_lastchange.tv_sec) | ^ configure:27253: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 1 | #define HAVE_STRUCT_IFADDR_IFA_NEXT 1 | #define HAVE_STRUCT_IFNET_IF_IBYTES 1 | #define HAVE_STRUCT_IFNET_IF_IQDROPS 1 | /* end confdefs.h. */ | | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_SYS_QUEUE_H | #include | #endif | #ifdef linux | struct ifnet { | char *if_name; /* name, e.g. "en" or "lo" */ | short if_unit; /* sub-unit for lower level driver */ | short if_mtu; /* maximum transmission unit */ | short if_flags; /* up/down, broadcast, etc. */ | int if_metric; /* routing metric (external only) */ | char if_hwaddr [6]; /* ethernet address */ | int if_type; /* interface type: 1=generic, | 28=slip, ether=6, loopback=24 */ | int if_speed; /* interface speed: in bits/sec */ | | struct sockaddr if_addr; /* interface's address */ | struct sockaddr ifu_broadaddr; /* broadcast address */ | struct sockaddr ia_subnetmask; /* interface's mask */ | | struct ifqueue { | int ifq_len; | int ifq_drops; | } if_snd; /* output queue */ | int if_ibytes; /* octets received on interface */ | int if_ipackets; /* packets received on interface */ | int if_ierrors; /* input errors on interface */ | int if_iqdrops; /* input queue overruns */ | int if_obytes; /* octets sent on interface */ | int if_opackets; /* packets sent on interface */ | int if_oerrors; /* output errors on interface */ | int if_collisions; /* collisions on csma interfaces */ | /* end statistics */ | struct ifnet *if_next; | }; | #endif | | | int | main () | { | static struct ifnet ac_aggr; | if (sizeof ac_aggr.if_lastchange.tv_sec) | return 0; | ; | return 0; | } configure:27253: result: no configure:27323: checking for struct ifnet.if_lastchange.tv_nsec configure:27323: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:406:12: error: 'struct ifnet' has no member named 'if_lastchange' 406 | if (ac_aggr.if_lastchange.tv_nsec) | ^ configure:27323: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 1 | #define HAVE_STRUCT_IFADDR_IFA_NEXT 1 | #define HAVE_STRUCT_IFNET_IF_IBYTES 1 | #define HAVE_STRUCT_IFNET_IF_IQDROPS 1 | /* end confdefs.h. */ | | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_SYS_QUEUE_H | #include | #endif | #ifdef linux | struct ifnet { | char *if_name; /* name, e.g. "en" or "lo" */ | short if_unit; /* sub-unit for lower level driver */ | short if_mtu; /* maximum transmission unit */ | short if_flags; /* up/down, broadcast, etc. */ | int if_metric; /* routing metric (external only) */ | char if_hwaddr [6]; /* ethernet address */ | int if_type; /* interface type: 1=generic, | 28=slip, ether=6, loopback=24 */ | int if_speed; /* interface speed: in bits/sec */ | | struct sockaddr if_addr; /* interface's address */ | struct sockaddr ifu_broadaddr; /* broadcast address */ | struct sockaddr ia_subnetmask; /* interface's mask */ | | struct ifqueue { | int ifq_len; | int ifq_drops; | } if_snd; /* output queue */ | int if_ibytes; /* octets received on interface */ | int if_ipackets; /* packets received on interface */ | int if_ierrors; /* input errors on interface */ | int if_iqdrops; /* input queue overruns */ | int if_obytes; /* octets sent on interface */ | int if_opackets; /* packets sent on interface */ | int if_oerrors; /* output errors on interface */ | int if_collisions; /* collisions on csma interfaces */ | /* end statistics */ | struct ifnet *if_next; | }; | #endif | | | int | main () | { | static struct ifnet ac_aggr; | if (ac_aggr.if_lastchange.tv_nsec) | return 0; | ; | return 0; | } configure:27323: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:406:19: error: 'struct ifnet' has no member named 'if_lastchange' 406 | if (sizeof ac_aggr.if_lastchange.tv_nsec) | ^ configure:27323: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 1 | #define HAVE_STRUCT_IFADDR_IFA_NEXT 1 | #define HAVE_STRUCT_IFNET_IF_IBYTES 1 | #define HAVE_STRUCT_IFNET_IF_IQDROPS 1 | /* end confdefs.h. */ | | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_SYS_QUEUE_H | #include | #endif | #ifdef linux | struct ifnet { | char *if_name; /* name, e.g. "en" or "lo" */ | short if_unit; /* sub-unit for lower level driver */ | short if_mtu; /* maximum transmission unit */ | short if_flags; /* up/down, broadcast, etc. */ | int if_metric; /* routing metric (external only) */ | char if_hwaddr [6]; /* ethernet address */ | int if_type; /* interface type: 1=generic, | 28=slip, ether=6, loopback=24 */ | int if_speed; /* interface speed: in bits/sec */ | | struct sockaddr if_addr; /* interface's address */ | struct sockaddr ifu_broadaddr; /* broadcast address */ | struct sockaddr ia_subnetmask; /* interface's mask */ | | struct ifqueue { | int ifq_len; | int ifq_drops; | } if_snd; /* output queue */ | int if_ibytes; /* octets received on interface */ | int if_ipackets; /* packets received on interface */ | int if_ierrors; /* input errors on interface */ | int if_iqdrops; /* input queue overruns */ | int if_obytes; /* octets sent on interface */ | int if_opackets; /* packets sent on interface */ | int if_oerrors; /* output errors on interface */ | int if_collisions; /* collisions on csma interfaces */ | /* end statistics */ | struct ifnet *if_next; | }; | #endif | | | int | main () | { | static struct ifnet ac_aggr; | if (sizeof ac_aggr.if_lastchange.tv_nsec) | return 0; | ; | return 0; | } configure:27323: result: no configure:27393: checking for struct ifnet.if_mtu configure:27393: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27393: $? = 0 configure:27393: result: yes configure:27463: checking for struct ifnet.if_noproto configure:27463: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:407:12: error: 'struct ifnet' has no member named 'if_noproto' 407 | if (ac_aggr.if_noproto) | ^ configure:27463: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 1 | #define HAVE_STRUCT_IFADDR_IFA_NEXT 1 | #define HAVE_STRUCT_IFNET_IF_IBYTES 1 | #define HAVE_STRUCT_IFNET_IF_IQDROPS 1 | #define HAVE_STRUCT_IFNET_IF_MTU 1 | /* end confdefs.h. */ | | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_SYS_QUEUE_H | #include | #endif | #ifdef linux | struct ifnet { | char *if_name; /* name, e.g. "en" or "lo" */ | short if_unit; /* sub-unit for lower level driver */ | short if_mtu; /* maximum transmission unit */ | short if_flags; /* up/down, broadcast, etc. */ | int if_metric; /* routing metric (external only) */ | char if_hwaddr [6]; /* ethernet address */ | int if_type; /* interface type: 1=generic, | 28=slip, ether=6, loopback=24 */ | int if_speed; /* interface speed: in bits/sec */ | | struct sockaddr if_addr; /* interface's address */ | struct sockaddr ifu_broadaddr; /* broadcast address */ | struct sockaddr ia_subnetmask; /* interface's mask */ | | struct ifqueue { | int ifq_len; | int ifq_drops; | } if_snd; /* output queue */ | int if_ibytes; /* octets received on interface */ | int if_ipackets; /* packets received on interface */ | int if_ierrors; /* input errors on interface */ | int if_iqdrops; /* input queue overruns */ | int if_obytes; /* octets sent on interface */ | int if_opackets; /* packets sent on interface */ | int if_oerrors; /* output errors on interface */ | int if_collisions; /* collisions on csma interfaces */ | /* end statistics */ | struct ifnet *if_next; | }; | #endif | | | int | main () | { | static struct ifnet ac_aggr; | if (ac_aggr.if_noproto) | return 0; | ; | return 0; | } configure:27463: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:407:19: error: 'struct ifnet' has no member named 'if_noproto' 407 | if (sizeof ac_aggr.if_noproto) | ^ configure:27463: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 1 | #define HAVE_STRUCT_IFADDR_IFA_NEXT 1 | #define HAVE_STRUCT_IFNET_IF_IBYTES 1 | #define HAVE_STRUCT_IFNET_IF_IQDROPS 1 | #define HAVE_STRUCT_IFNET_IF_MTU 1 | /* end confdefs.h. */ | | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_SYS_QUEUE_H | #include | #endif | #ifdef linux | struct ifnet { | char *if_name; /* name, e.g. "en" or "lo" */ | short if_unit; /* sub-unit for lower level driver */ | short if_mtu; /* maximum transmission unit */ | short if_flags; /* up/down, broadcast, etc. */ | int if_metric; /* routing metric (external only) */ | char if_hwaddr [6]; /* ethernet address */ | int if_type; /* interface type: 1=generic, | 28=slip, ether=6, loopback=24 */ | int if_speed; /* interface speed: in bits/sec */ | | struct sockaddr if_addr; /* interface's address */ | struct sockaddr ifu_broadaddr; /* broadcast address */ | struct sockaddr ia_subnetmask; /* interface's mask */ | | struct ifqueue { | int ifq_len; | int ifq_drops; | } if_snd; /* output queue */ | int if_ibytes; /* octets received on interface */ | int if_ipackets; /* packets received on interface */ | int if_ierrors; /* input errors on interface */ | int if_iqdrops; /* input queue overruns */ | int if_obytes; /* octets sent on interface */ | int if_opackets; /* packets sent on interface */ | int if_oerrors; /* output errors on interface */ | int if_collisions; /* collisions on csma interfaces */ | /* end statistics */ | struct ifnet *if_next; | }; | #endif | | | int | main () | { | static struct ifnet ac_aggr; | if (sizeof ac_aggr.if_noproto) | return 0; | ; | return 0; | } configure:27463: result: no configure:27533: checking for struct ifnet.if_obytes configure:27533: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27533: $? = 0 configure:27533: result: yes configure:27603: checking for struct ifnet.if_omcasts configure:27603: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:408:12: error: 'struct ifnet' has no member named 'if_omcasts' 408 | if (ac_aggr.if_omcasts) | ^ configure:27603: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 1 | #define HAVE_STRUCT_IFADDR_IFA_NEXT 1 | #define HAVE_STRUCT_IFNET_IF_IBYTES 1 | #define HAVE_STRUCT_IFNET_IF_IQDROPS 1 | #define HAVE_STRUCT_IFNET_IF_MTU 1 | #define HAVE_STRUCT_IFNET_IF_OBYTES 1 | /* end confdefs.h. */ | | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_SYS_QUEUE_H | #include | #endif | #ifdef linux | struct ifnet { | char *if_name; /* name, e.g. "en" or "lo" */ | short if_unit; /* sub-unit for lower level driver */ | short if_mtu; /* maximum transmission unit */ | short if_flags; /* up/down, broadcast, etc. */ | int if_metric; /* routing metric (external only) */ | char if_hwaddr [6]; /* ethernet address */ | int if_type; /* interface type: 1=generic, | 28=slip, ether=6, loopback=24 */ | int if_speed; /* interface speed: in bits/sec */ | | struct sockaddr if_addr; /* interface's address */ | struct sockaddr ifu_broadaddr; /* broadcast address */ | struct sockaddr ia_subnetmask; /* interface's mask */ | | struct ifqueue { | int ifq_len; | int ifq_drops; | } if_snd; /* output queue */ | int if_ibytes; /* octets received on interface */ | int if_ipackets; /* packets received on interface */ | int if_ierrors; /* input errors on interface */ | int if_iqdrops; /* input queue overruns */ | int if_obytes; /* octets sent on interface */ | int if_opackets; /* packets sent on interface */ | int if_oerrors; /* output errors on interface */ | int if_collisions; /* collisions on csma interfaces */ | /* end statistics */ | struct ifnet *if_next; | }; | #endif | | | int | main () | { | static struct ifnet ac_aggr; | if (ac_aggr.if_omcasts) | return 0; | ; | return 0; | } configure:27603: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:408:19: error: 'struct ifnet' has no member named 'if_omcasts' 408 | if (sizeof ac_aggr.if_omcasts) | ^ configure:27603: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 1 | #define HAVE_STRUCT_IFADDR_IFA_NEXT 1 | #define HAVE_STRUCT_IFNET_IF_IBYTES 1 | #define HAVE_STRUCT_IFNET_IF_IQDROPS 1 | #define HAVE_STRUCT_IFNET_IF_MTU 1 | #define HAVE_STRUCT_IFNET_IF_OBYTES 1 | /* end confdefs.h. */ | | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_SYS_QUEUE_H | #include | #endif | #ifdef linux | struct ifnet { | char *if_name; /* name, e.g. "en" or "lo" */ | short if_unit; /* sub-unit for lower level driver */ | short if_mtu; /* maximum transmission unit */ | short if_flags; /* up/down, broadcast, etc. */ | int if_metric; /* routing metric (external only) */ | char if_hwaddr [6]; /* ethernet address */ | int if_type; /* interface type: 1=generic, | 28=slip, ether=6, loopback=24 */ | int if_speed; /* interface speed: in bits/sec */ | | struct sockaddr if_addr; /* interface's address */ | struct sockaddr ifu_broadaddr; /* broadcast address */ | struct sockaddr ia_subnetmask; /* interface's mask */ | | struct ifqueue { | int ifq_len; | int ifq_drops; | } if_snd; /* output queue */ | int if_ibytes; /* octets received on interface */ | int if_ipackets; /* packets received on interface */ | int if_ierrors; /* input errors on interface */ | int if_iqdrops; /* input queue overruns */ | int if_obytes; /* octets sent on interface */ | int if_opackets; /* packets sent on interface */ | int if_oerrors; /* output errors on interface */ | int if_collisions; /* collisions on csma interfaces */ | /* end statistics */ | struct ifnet *if_next; | }; | #endif | | | int | main () | { | static struct ifnet ac_aggr; | if (sizeof ac_aggr.if_omcasts) | return 0; | ; | return 0; | } configure:27603: result: no configure:27673: checking for struct ifnet.if_speed configure:27673: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27673: $? = 0 configure:27673: result: yes configure:27743: checking for struct ifnet.if_type configure:27743: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:27743: $? = 0 configure:27743: result: yes configure:27813: checking for struct ifnet.if_xname configure:27813: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:410:13: error: 'struct ifnet' has no member named 'if_xname'; did you mean 'if_name'? 410 | if (ac_aggr.if_xname) | ^~~~~~~~ | if_name configure:27813: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 1 | #define HAVE_STRUCT_IFADDR_IFA_NEXT 1 | #define HAVE_STRUCT_IFNET_IF_IBYTES 1 | #define HAVE_STRUCT_IFNET_IF_IQDROPS 1 | #define HAVE_STRUCT_IFNET_IF_MTU 1 | #define HAVE_STRUCT_IFNET_IF_OBYTES 1 | #define HAVE_STRUCT_IFNET_IF_SPEED 1 | #define HAVE_STRUCT_IFNET_IF_TYPE 1 | /* end confdefs.h. */ | | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_SYS_QUEUE_H | #include | #endif | #ifdef linux | struct ifnet { | char *if_name; /* name, e.g. "en" or "lo" */ | short if_unit; /* sub-unit for lower level driver */ | short if_mtu; /* maximum transmission unit */ | short if_flags; /* up/down, broadcast, etc. */ | int if_metric; /* routing metric (external only) */ | char if_hwaddr [6]; /* ethernet address */ | int if_type; /* interface type: 1=generic, | 28=slip, ether=6, loopback=24 */ | int if_speed; /* interface speed: in bits/sec */ | | struct sockaddr if_addr; /* interface's address */ | struct sockaddr ifu_broadaddr; /* broadcast address */ | struct sockaddr ia_subnetmask; /* interface's mask */ | | struct ifqueue { | int ifq_len; | int ifq_drops; | } if_snd; /* output queue */ | int if_ibytes; /* octets received on interface */ | int if_ipackets; /* packets received on interface */ | int if_ierrors; /* input errors on interface */ | int if_iqdrops; /* input queue overruns */ | int if_obytes; /* octets sent on interface */ | int if_opackets; /* packets sent on interface */ | int if_oerrors; /* output errors on interface */ | int if_collisions; /* collisions on csma interfaces */ | /* end statistics */ | struct ifnet *if_next; | }; | #endif | | | int | main () | { | static struct ifnet ac_aggr; | if (ac_aggr.if_xname) | return 0; | ; | return 0; | } configure:27813: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:410:20: error: 'struct ifnet' has no member named 'if_xname'; did you mean 'if_name'? 410 | if (sizeof ac_aggr.if_xname) | ^~~~~~~~ | if_name configure:27813: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 1 | #define HAVE_STRUCT_IFADDR_IFA_NEXT 1 | #define HAVE_STRUCT_IFNET_IF_IBYTES 1 | #define HAVE_STRUCT_IFNET_IF_IQDROPS 1 | #define HAVE_STRUCT_IFNET_IF_MTU 1 | #define HAVE_STRUCT_IFNET_IF_OBYTES 1 | #define HAVE_STRUCT_IFNET_IF_SPEED 1 | #define HAVE_STRUCT_IFNET_IF_TYPE 1 | /* end confdefs.h. */ | | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_NET_IF_H | #include | #endif | #ifdef HAVE_NET_IF_VAR_H | #include | #endif | #ifdef HAVE_SYS_QUEUE_H | #include | #endif | #ifdef linux | struct ifnet { | char *if_name; /* name, e.g. "en" or "lo" */ | short if_unit; /* sub-unit for lower level driver */ | short if_mtu; /* maximum transmission unit */ | short if_flags; /* up/down, broadcast, etc. */ | int if_metric; /* routing metric (external only) */ | char if_hwaddr [6]; /* ethernet address */ | int if_type; /* interface type: 1=generic, | 28=slip, ether=6, loopback=24 */ | int if_speed; /* interface speed: in bits/sec */ | | struct sockaddr if_addr; /* interface's address */ | struct sockaddr ifu_broadaddr; /* broadcast address */ | struct sockaddr ia_subnetmask; /* interface's mask */ | | struct ifqueue { | int ifq_len; | int ifq_drops; | } if_snd; /* output queue */ | int if_ibytes; /* octets received on interface */ | int if_ipackets; /* packets received on interface */ | int if_ierrors; /* input errors on interface */ | int if_iqdrops; /* input queue overruns */ | int if_obytes; /* octets sent on interface */ | int if_opackets; /* packets sent on interface */ | int if_oerrors; /* output errors on interface */ | int if_collisions; /* collisions on csma interfaces */ | /* end statistics */ | struct ifnet *if_next; | }; | #endif | | | int | main () | { | static struct ifnet ac_aggr; | if (sizeof ac_aggr.if_xname) | return 0; | ; | return 0; | } configure:27813: result: no configure:27888: checking type of rtentry structure configure:27935: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:373:6: error: 'struct rtentry' has no member named 'rt_nodes'; did you mean 'rt_tos'? 373 | rt.rt_nodes[0].rn_flags = 1; | ^~~~~~~~ | rt_tos configure:27935: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 1 | #define HAVE_STRUCT_IFADDR_IFA_NEXT 1 | #define HAVE_STRUCT_IFNET_IF_IBYTES 1 | #define HAVE_STRUCT_IFNET_IF_IQDROPS 1 | #define HAVE_STRUCT_IFNET_IF_MTU 1 | #define HAVE_STRUCT_IFNET_IF_OBYTES 1 | #define HAVE_STRUCT_IFNET_IF_SPEED 1 | #define HAVE_STRUCT_IFNET_IF_TYPE 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #include | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #include | #undef KERNEL | #undef _KERNEL | #include | | int | main () | { | | | #ifndef HAVE_STRUCT_RTENTRY_RT_DST | #define rt_dst rt_nodes->rn_key | #endif | | struct rtentry rt; | rt.rt_nodes[0].rn_flags = 1; | rt.rt_dst; | | ; | return 0; | } configure:27977: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:369:3: error: 'struct rtentry' has no member named 'rt_hash' 369 | rt.rt_hash; | ^ configure:27977: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 1 | #define HAVE_STRUCT_IFADDR_IFA_NEXT 1 | #define HAVE_STRUCT_IFNET_IF_IBYTES 1 | #define HAVE_STRUCT_IFNET_IF_IQDROPS 1 | #define HAVE_STRUCT_IFNET_IF_MTU 1 | #define HAVE_STRUCT_IFNET_IF_OBYTES 1 | #define HAVE_STRUCT_IFNET_IF_SPEED 1 | #define HAVE_STRUCT_IFNET_IF_TYPE 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_PARAM_H | #include | #endif | #include | #ifdef NETSNMP_IFNET_NEEDS_KERNEL_STRUCTURES | #define _KERNEL_STRUCTURES 1 | #endif | #ifdef NETSNMP_IFNET_NEEDS_KERNEL | #define KERNEL | #if !defined(__DragonFly__) | #define _KERNEL 1 | #endif | #endif | #include | #undef KERNEL | #undef _KERNEL | #include | | int | main () | { | | | struct rtentry rt; | rt.rt_hash; | | ; | return 0; | } configure:27990: result: unknown configure:28002: checking for struct rtentry configure:28029: result: rtentry configure:28046: checking syslog prioritynames configure:28068: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 conftest.c: In function 'main': conftest.c:356:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 356 | char *test = prioritynames[0].c_name; | ^~~~~~~~~~~~~ configure:28068: $? = 0 configure:28070: result: yes configure:28110: checking for location of system kernel configure:28139: result: unknown configure:28152: checking for location of swap device configure:28166: result: none configure:28183: checking for mount table location configure:28200: result: /etc/mtab configure:28214: checking for lpstat configure:28247: result: no configure:28272: checking for correct flags to ps configure:28301: result: -e configure:28320: checking for SIGHUP configure:28333: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28333: $? = 0 configure:28340: result: yes configure:28353: WARNING: Can't check sysctl, manually define NETSNMP_CAN_USE_SYSCTL if platform support available configure:28429: checking whether TCP timers depend on 'hz' conftest.c:351:10: fatal error: netinet/tcp_timer.h: No such file or directory 351 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:28450: result: no configure:28594: checking for SO_BINDTODEVICE configure:28612: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 configure:28612: $? = 0 configure:28616: result: yes configure:28628: checking for struct in_pktinfo.ipi_spec_dst configure:28628: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:361:5: error: used struct type value where scalar is required 361 | if (ac_aggr.ipi_spec_dst) | ^~~~~~~ configure:28628: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 1 | #define HAVE_STRUCT_IFADDR_IFA_NEXT 1 | #define HAVE_STRUCT_IFNET_IF_IBYTES 1 | #define HAVE_STRUCT_IFNET_IF_IQDROPS 1 | #define HAVE_STRUCT_IFNET_IF_MTU 1 | #define HAVE_STRUCT_IFNET_IF_OBYTES 1 | #define HAVE_STRUCT_IFNET_IF_SPEED 1 | #define HAVE_STRUCT_IFNET_IF_TYPE 1 | #define RTENTRY struct rtentry | #define HAVE_PRIORITYNAMES 1 | #define KERNEL_LOC "unknown" | #define ETC_MNTTAB "/etc/mtab" | #define PSCMD "/bin/ps -e" | #define HAVE_SIGHUP 1 | #define HAVE_SO_BINDTODEVICE 1 | /* end confdefs.h. */ | | #include | #include | #include | | | int | main () | { | static struct in_pktinfo ac_aggr; | if (ac_aggr.ipi_spec_dst) | return 0; | ; | return 0; | } configure:28628: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -c -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:28628: $? = 0 configure:28628: result: yes configure:28647: checking for IP_PKTINFO configure:28699: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 conftest.c: In function 'main': conftest.c:388:48: warning: implicit declaration of function 'inet_ntoa' [-Wimplicit-function-declaration] 388 | printf("Address: %s; index: %d\n", inet_ntoa(src->ipi_addr), | ^~~~~~~~~ configure:28699: $? = 0 configure:28708: result: yes configure:28719: checking for IP_RECVDSTADDR configure:28770: /tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc -o conftest -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto >&5 conftest.c: In function 'main': conftest.c:387:62: error: 'IP_RECVDSTADDR' undeclared (first use in this function); did you mean 'IP_ORIGDSTADDR'? 387 | if (cm->cmsg_level == IPPROTO_IP && cm->cmsg_type == IP_RECVDSTADDR) { | ^~~~~~~~~~~~~~ | IP_ORIGDSTADDR conftest.c:387:62: note: each undeclared identifier is reported only once for each function it appears in conftest.c:389:37: warning: implicit declaration of function 'inet_ntoa' [-Wimplicit-function-declaration] 389 | printf("Address: %s\n", inet_ntoa(src)); | ^~~~~~~~~ configure:28770: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Net-SNMP" | #define PACKAGE_TARNAME "net-snmp" | #define PACKAGE_VERSION "5.9" | #define PACKAGE_STRING "Net-SNMP 5.9" | #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" | #define PACKAGE_URL "" | #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" | #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 HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define NETSNMP_DISABLE_APPS 1 | #define NETSNMP_DISABLE_MIB_LOADING 1 | #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 | #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 | #define NETSNMP_ENABLE_IPV6 1 | #define NETSNMP_PERSISTENT_MASK 077 | #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" | #define NETSNMP_ALWAYS_DEBUG 1 | #define NETSNMP_NO_DEBUGGING 1 | #define NETSNMP_NO_KMEM_USAGE 1 | #define NETSNMP_NO_DUMMY_VALUES 1 | #define NETSNMP_NO_SYSTEMD 1 | #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" | #define NETSNMP_ENABLE_MFD_REWRITES 1 | #define NETSNMP_DEFAULT_SNMP_VERSION 1 | #define NETSNMP_SYS_CONTACT "root@localhost" | #define NETSNMP_SYS_LOC "Unknown" | #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" | #define UNAMEPROG "/usr/bin/uname" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" | #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" | #define HAVE_DPKG_QUERY 1 | #define SNMPLIBPATH "/usr/lib/snmp" | #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" | #define SNMPSHAREPATH "/usr/share/snmp" | #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" | #define SNMPCONFPATH "/etc/snmp" | #define STDC_HEADERS 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SYSLOG_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_NETIPX_IPX_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ERR_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_MNTENT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTMPX_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STATFS_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SYSMACROS_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_SYS_VFS_H 1 | #define HAVE_ASM_TYPES_H 1 | #define HAVE_LINUX_HDREG_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_GRP_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SEARCH_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_PCI_PCI_H 1 | #define HAVE_OPENSSL_AES_H 1 | #define HAVE_OPENSSL_DH_H 1 | #define HAVE_OPENSSL_DES_H 1 | #define HAVE_OPENSSL_HMAC_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_SYS_SWAP_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_SYS_QUEUE_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_LINUX_NETLINK_H 1 | #define HAVE_LINUX_RTNETLINK_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_SOCKETVAR_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NET_IF_ARP_H 1 | #define HAVE_NETINET_IF_ETHER_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NETINET_IP_ICMP_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_UDP_H 1 | #define HAVE_NET_ROUTE_H 1 | #define HAVE_NETINET_ICMP6_H 1 | #define HAVE_NETINET_IP6_H 1 | #define HAVE_LINUX_ETHTOOL_H 1 | #define HAVE_SENSORS_SENSORS_H 1 | #define HAVE_STRUCT_RTENTRY_RT_DST 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_INTMAX_T 8 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_INTMAX_T 1 | #define HAVE_UINTMAX_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_OFF64_T 1 | #define HAVE_NFDS_T 1 | #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 | #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 | #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 | #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 | #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 | #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 | #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 | #define NETSNMP_SECMOD_TSM 1 | #define NETSNMP_SECMOD_USM 1 | #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 | #define NETSNMP_USE_SENSORS_V3 1 | #define HAVE_GETMNTENT 1 | #define HAVE_DLOPEN 1 | #define HAVE_PCRE_H 1 | #define ENV_SEPARATOR ":" | #define ENV_SEPARATOR_CHAR ':' | #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_PCI_LOOKUP_NAME 1 | #define HAVE_NETLINK_NETLINK_H 1 | #define HAVE_LIBNL3 1 | #define HAVE_LIBCRYPTO 1 | #define HAVE_AES_CFB128_ENCRYPT 1 | #define HAVE_EVP_SHA224 1 | #define HAVE_EVP_SHA384 1 | #define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_FREE 1 | #define HAVE_DH_SET0_PQG 1 | #define HAVE_DH_GET0_PQG 1 | #define HAVE_DH_GET0_KEY 1 | #define HAVE_ASN1_STRING_GET0_DATA 1 | #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 | #define HAVE_X509_NAME_ENTRY_GET_DATA 1 | #define HAVE_X509_GET_SIGNATURE_NID 1 | #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const | #define HAVE_TLS_METHOD 1 | #define HAVE_TLSV1_METHOD 1 | #define HAVE_DTLS_METHOD 1 | #define HAVE_DTLSV1_METHOD 1 | #define HAVE_LIBSSL_DTLS 1 | #define HAVE_LIBSSL 1 | #define NETSNMP_CAN_DO_CRYPTO 1 | #define HAVE_PCAP_PCAP_H 1 | #define HAVE_CURSES_H 1 | #define NETSNMP_USE_OPENSSL 1 | #define TIME_WITH_SYS_TIME 1 | #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) | #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) | #define HAVE_SOCKLEN_T 1 | #define HAVE_IN_ADDR_T 1 | #define HAVE_SSIZE_T 1 | #define NETSNMP_SELECT_TIMEVAL struct timeval | #define NETSNMP_IOCTLSOCKET_ARG void | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define RETSIGTYPE void | #define HAVE_RAND 1 | #define HAVE_RANDOM 1 | #define HAVE_SRAND 1 | #define HAVE_SRANDOM 1 | #define HAVE_LRAND48 1 | #define HAVE_SRAND48 1 | #define HAVE_ASPRINTF 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_FGETC_UNLOCKED 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_FUNLOCKFILE 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GETLOGIN 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_MKSTEMP 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETENV 1 | #define HAVE_SETITIMER 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETSID 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSCONF 1 | #define HAVE_TIMES 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_EXECV 1 | #define HAVE_FORK 1 | #define HAVE_SIGNAL 1 | #define HAVE_SIGSET 1 | #define HAVE_UNAME 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME2 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_GETOPT 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOL 1 | #define HAVE_STRTOUL 1 | #define HAVE_STRTOULL 1 | #define HAVE_CHOWN 1 | #define HAVE_FSYNC 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_HASMNTOPT 1 | #define HAVE_INITGROUPS 1 | #define HAVE_IF_NAMEINDEX 1 | #define HAVE_IF_INDEXTONAME 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTIME 1 | #define HAVE_POLL 1 | #define HAVE_REGCOMP 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETMNTENT 1 | #define HAVE_SETUID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGHOLD 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_STATFS 1 | #define HAVE_STATVFS 1 | #define HAVE_STIME 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYSTEM 1 | #define HAVE_USLEEP 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETGRNAM 1 | #define HAVE_GETPID 1 | #define HAVE_GETPWNAM 1 | #define HAVE_SETGID 1 | #define HAVE_SETGROUPS 1 | #define HAVE_SETUID 1 | #define HAVE_TCGETATTR 1 | #define HAVE_IF_FREENAMEINDEX 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_LSEEK64 1 | #define HAVE_PREAD64 1 | #define HAVE_SELECT 1 | #define HAVE_SOCKET 1 | #define NETSNMP_FUNCTION __func__ | #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 | #define NETSNMP_PRIz "z" | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | #define HAVE_STRUCT_STATFS_F_FILES 1 | #define HAVE_STRUCT_STATFS_F_FLAGS 1 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | #define HAVE_STRUCT_STATVFS_F_FILES 1 | #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 | #define HAVE_STRUCT_TM_TM_GMTOFF 1 | #define HAVE_STRUCT_TM_TM_ISDST 1 | #define HAVE_DECL_DAYLIGHT 1 | #define HAVE_DECL_TIMEZONE 1 | #define HAVE_SCALAR_TIMEZONE 1 | #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 1 | #define HAVE_STRUCT_IFADDR_IFA_NEXT 1 | #define HAVE_STRUCT_IFNET_IF_IBYTES 1 | #define HAVE_STRUCT_IFNET_IF_IQDROPS 1 | #define HAVE_STRUCT_IFNET_IF_MTU 1 | #define HAVE_STRUCT_IFNET_IF_OBYTES 1 | #define HAVE_STRUCT_IFNET_IF_SPEED 1 | #define HAVE_STRUCT_IFNET_IF_TYPE 1 | #define RTENTRY struct rtentry | #define HAVE_PRIORITYNAMES 1 | #define KERNEL_LOC "unknown" | #define ETC_MNTTAB "/etc/mtab" | #define PSCMD "/bin/ps -e" | #define HAVE_SIGHUP 1 | #define HAVE_SO_BINDTODEVICE 1 | #define HAVE_STRUCT_IN_PKTINFO_IPI_SPEC_DST 1 | #define HAVE_IP_PKTINFO 1 | /* end confdefs.h. */ | | #include /* printf() */ | #include /* malloc() */ | #include /* memset() */ | #include | #include | #include | | int | main () | { | | void *buf; | int len; | void *from; | socklen_t *fromlen; | | struct iovec iov; | char *cmsg = malloc(CMSG_SPACE(sizeof(struct in_addr))); | struct cmsghdr *cm; | struct msghdr msg; | | iov.iov_base = buf; | iov.iov_len = len; | | memset(&msg, 0, sizeof msg); | msg.msg_name = from; | msg.msg_namelen = *fromlen; | msg.msg_iov = &iov; | msg.msg_iovlen = 1; | msg.msg_control = &cmsg; | msg.msg_controllen = sizeof(cmsg); | | for (cm = CMSG_FIRSTHDR(&msg); cm; cm = CMSG_NXTHDR(&msg, cm)) { | if (cm->cmsg_level == IPPROTO_IP && cm->cmsg_type == IP_RECVDSTADDR) { | struct in_addr* src = (struct in_addr *)CMSG_DATA(cm); | printf("Address: %s\n", inet_ntoa(src)); | } | } | | ; | return 0; | } configure:28779: result: no configure:29035: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by Net-SNMP config.status 5.9, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on n6 config.status:1657: creating Makefile config.status:1657: creating snmplib/Makefile config.status:1657: creating apps/Makefile config.status:1657: creating apps/snmpnetstat/Makefile config.status:1657: creating agent/Makefile config.status:1657: creating agent/helpers/Makefile config.status:1657: creating agent/mibgroup/Makefile config.status:1657: creating local/Makefile config.status:1657: creating testing/Makefile config.status:1657: creating man/Makefile config.status:1657: creating mibs/Makefile config.status:1657: creating net-snmp-config config.status:1657: creating net-snmp-create-v3-user config.status:1657: creating netsnmp.pc config.status:1657: creating netsnmp-agent.pc config.status:1657: creating dist/generation-scripts/gen-variables config.status:1657: creating local/snmpconf config.status:1657: creating include/net-snmp/net-snmp-config.h config.status:1851: executing libtool commands config.status:1851: executing default commands configure:31315: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --enable-nls ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_DMEM_LOC=none ac_cv_ETC_MNTTAB=/etc/mtab ac_cv_IFNET_NEEDS_KERNEL=unknown ac_cv_IFNET_NEEDS_KERNEL_STRUCTURES=unknown ac_cv_KERNEL_LOC=unknown ac_cv_NETSNMP_CAN_USE_SYSCTL=no ac_cv_NETSNMP_MACHINE_INCLUDE_FILE=net-snmp/machine/generic.h ac_cv_NETSNMP_SYSTEM_INCLUDE_FILE=net-snmp/system/linux.h ac_cv_RTENTRY_TYPE=unknown ac_cv_TCPTV_NEEDS_HZ=no ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=yes ac_cv_c_const=yes ac_cv_c_inline=inline ac_cv_c_int16_t=yes ac_cv_c_int32_t=yes ac_cv_c_int64_t=yes ac_cv_c_int8_t=yes ac_cv_c_uint16_t=yes ac_cv_c_uint32_t=yes ac_cv_c_uint64_t=yes ac_cv_c_uint8_t=yes ac_cv_env_CC_set=set ac_cv_env_CC_value=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 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_CPP_set=set ac_cv_env_CPP_value=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value= ac_cv_env_LIBNL3_CFLAGS_set= ac_cv_env_LIBNL3_CFLAGS_value= ac_cv_env_LIBNL3_LIBS_set= ac_cv_env_LIBNL3_LIBS_value= ac_cv_env_LIBS_set=set ac_cv_env_LIBS_value='-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 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=/tmp/instance-9/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_host_alias_set=set ac_cv_env_host_alias_value=riscv64-buildroot-linux-uclibc ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=riscv64-buildroot-linux-uclibc ac_cv_func_AES_cfb128_encrypt=yes ac_cv_func_ASN1_STRING_get0_data=yes ac_cv_func_DH_get0_key=yes ac_cv_func_DH_get0_pqg=yes ac_cv_func_DH_set0_pqg=yes ac_cv_func_DTLS_method=yes ac_cv_func_DTLSv1_method=yes ac_cv_func_ERR_get_error_all=no ac_cv_func_EVP_MD_CTX_create=no ac_cv_func_EVP_MD_CTX_destroy=no ac_cv_func_EVP_MD_CTX_free=yes ac_cv_func_EVP_MD_CTX_new=yes ac_cv_func_EVP_sha224=yes ac_cv_func_EVP_sha384=yes ac_cv_func_SSL_library_init=no ac_cv_func_SSL_load_error_strings=no ac_cv_func_TLS_method=yes ac_cv_func_TLSv1_method=yes ac_cv_func_X509_NAME_ENTRY_get_data=yes ac_cv_func_X509_NAME_ENTRY_get_object=yes ac_cv_func_X509_get_signature_nid=yes ac_cv_func_alloca_works=yes ac_cv_func_asprintf=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_cgetnext=no ac_cv_func_chown=yes ac_cv_func_closedir=yes ac_cv_func_closesocket=no ac_cv_func_dlopen=yes ac_cv_func_execv=yes ac_cv_func_fgetc_unlocked=yes ac_cv_func_flockfile=yes ac_cv_func_fork=yes ac_cv_func_forkall=no ac_cv_func_fsync=yes ac_cv_func_funlockfile=yes ac_cv_func_gai_strerror=yes ac_cv_func_getaddrinfo=yes ac_cv_func_getdtablesize=yes ac_cv_func_getfsstat=no ac_cv_func_getgrnam=yes ac_cv_func_gethostbyaddr=yes ac_cv_func_gethostbyname2=yes ac_cv_func_gethostbyname=yes ac_cv_func_gethostname=yes ac_cv_func_getipnodebyname=no ac_cv_func_getloadavg=no ac_cv_func_getlogin=yes ac_cv_func_getmntent=yes ac_cv_func_getopt=yes ac_cv_func_getpagesize=yes ac_cv_func_getpid=yes ac_cv_func_getpwnam=yes ac_cv_func_gettimeofday=yes ac_cv_func_getvfsstat=no ac_cv_func_hasmntopt=yes ac_cv_func_if_freenameindex=yes ac_cv_func_if_indextoname=yes ac_cv_func_if_nameindex=yes ac_cv_func_if_nametoindex=yes ac_cv_func_inet_ntop=yes ac_cv_func_inet_pton=yes ac_cv_func_initgroups=yes ac_cv_func_kinfo_get_cpus=no ac_cv_func_knlist=no ac_cv_func_kvm_getfile2=no ac_cv_func_kvm_getfiles=no ac_cv_func_kvm_getproc2=no ac_cv_func_kvm_getprocs=no ac_cv_func_kvm_getswapinfo=no ac_cv_func_kvm_openfiles=no ac_cv_func_localtime_r=yes ac_cv_func_lrand48=yes ac_cv_func_lseek64=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_memcmp_working=yes ac_cv_func_mkstemp=yes ac_cv_func_mktime=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_nlist64=no ac_cv_func_nlist=no ac_cv_func_opendir=yes ac_cv_func_poll=yes ac_cv_func_pread64=yes ac_cv_func_rand=yes ac_cv_func_random=yes ac_cv_func_readdir=yes ac_cv_func_realloc_0_nonnull=yes ac_cv_func_regcomp=yes ac_cv_func_select=yes ac_cv_func_setenv=yes ac_cv_func_setgid=yes ac_cv_func_setgroups=yes ac_cv_func_setitimer=yes ac_cv_func_setlocale=yes ac_cv_func_setmntent=yes ac_cv_func_setsid=yes ac_cv_func_setuid=yes ac_cv_func_sigaction=yes ac_cv_func_sigalrm=no ac_cv_func_sigblock=no ac_cv_func_sighold=yes ac_cv_func_signal=yes ac_cv_func_sigprocmask=yes ac_cv_func_sigset=yes ac_cv_func_snprintf=yes ac_cv_func_socket=yes ac_cv_func_srand48=yes ac_cv_func_srand=yes ac_cv_func_srandom=yes ac_cv_func_statfs=yes ac_cv_func_statvfs=yes ac_cv_func_stime=yes ac_cv_func_strcasestr=yes ac_cv_func_strdup=yes ac_cv_func_strerror=yes ac_cv_func_strlcat=yes ac_cv_func_strlcpy=yes ac_cv_func_strncasecmp=yes ac_cv_func_strtok_r=yes ac_cv_func_strtol=yes ac_cv_func_strtoul=yes ac_cv_func_strtoull=yes ac_cv_func_sysconf=yes ac_cv_func_system=yes ac_cv_func_tcgetattr=yes ac_cv_func_times=yes ac_cv_func_uname=yes ac_cv_func_usleep=yes ac_cv_func_vsnprintf=yes ac_cv_have_decl_daylight=yes ac_cv_have_decl_malloc=yes ac_cv_have_decl_sensors_get_all_subfeatures=yes ac_cv_have_decl_timezone=yes ac_cv_have_ip_pktinfo=yes ac_cv_have_ip_recvdstaddr=no ac_cv_have_warned=yes ac_cv_header_arpa_inet_h=yes ac_cv_header_asm_page_h=no ac_cv_header_asm_types_h=yes ac_cv_header_com_err_h=no ac_cv_header_crt_externs_h=no ac_cv_header_curses_h=yes ac_cv_header_dirent_dirent_h=yes ac_cv_header_dlfcn_h=yes ac_cv_header_err_h=yes ac_cv_header_et_com_err_h=no ac_cv_header_fcntl_h=yes ac_cv_header_fstab_h=no ac_cv_header_getopt_h=yes ac_cv_header_grp_h=yes ac_cv_header_inet_mib2_h=no ac_cv_header_inttypes_h=yes ac_cv_header_io_h=no ac_cv_header_ioctls_h=no ac_cv_header_iphlpapi_h=no ac_cv_header_kstat_h=no ac_cv_header_kvm_h=no ac_cv_header_limits_h=yes ac_cv_header_linux_ethtool_h=yes ac_cv_header_linux_hdreg_h=yes ac_cv_header_linux_netlink_h=yes ac_cv_header_linux_rtnetlink_h=yes ac_cv_header_linux_tasks_h=no ac_cv_header_lm_h=no ac_cv_header_locale_h=yes ac_cv_header_mach_o_dyld_h=no ac_cv_header_machine_param_h=no ac_cv_header_machine_pte_h=no ac_cv_header_machine_types_h=no ac_cv_header_malloc_h=yes ac_cv_header_memory_h=yes ac_cv_header_minix_config_h=no ac_cv_header_mntent_h=yes ac_cv_header_mtab_h=no ac_cv_header_nbutil_h=no ac_cv_header_ncurses_curses_h=no ac_cv_header_net_if_arp_h=yes ac_cv_header_net_if_dl_h=no ac_cv_header_net_if_h=yes ac_cv_header_net_if_mib_h=no ac_cv_header_net_if_types_h=no ac_cv_header_net_if_var_h=no ac_cv_header_net_route_h=yes ac_cv_header_netdb_h=yes ac_cv_header_netinet6_in6_pcb_h=no ac_cv_header_netinet6_in6_var_h=no ac_cv_header_netinet6_ip6_var_h=no ac_cv_header_netinet6_nd6_h=no ac_cv_header_netinet6_tcp6_fsm_h=no ac_cv_header_netinet6_tcp6_h=no ac_cv_header_netinet6_tcp6_timer_h=no ac_cv_header_netinet6_tcp6_var_h=no ac_cv_header_netinet_icmp6_h=yes ac_cv_header_netinet_icmp_var_h=no ac_cv_header_netinet_if_ether_h=yes ac_cv_header_netinet_in_h=yes ac_cv_header_netinet_in_pcb_h=no ac_cv_header_netinet_in_systm_h=yes ac_cv_header_netinet_in_var_h=no ac_cv_header_netinet_ip6_h=yes ac_cv_header_netinet_ip_h=yes ac_cv_header_netinet_ip_icmp_h=yes ac_cv_header_netinet_ip_var_h=no ac_cv_header_netinet_tcp_fsm_h=no ac_cv_header_netinet_tcp_h=yes ac_cv_header_netinet_tcp_timer_h=no ac_cv_header_netinet_tcp_var_h=no ac_cv_header_netinet_tcpip_h=no ac_cv_header_netinet_udp_h=yes ac_cv_header_netinet_udp_var_h=no ac_cv_header_netipx_ipx_h=yes ac_cv_header_netlink_netlink_h=yes ac_cv_header_nlist_h=no ac_cv_header_openssl_aes_h=yes ac_cv_header_openssl_des_h=yes ac_cv_header_openssl_dh_h=yes ac_cv_header_openssl_evp_h=yes ac_cv_header_openssl_hmac_h=yes ac_cv_header_osreldate_h=no ac_cv_header_pcap_pcap_h=yes ac_cv_header_pci_pci_h=yes ac_cv_header_pcre_h=yes ac_cv_header_picl_h=no ac_cv_header_pkg_h=no ac_cv_header_pkginfo_h=no ac_cv_header_pkglocs_h=no ac_cv_header_process_h=no ac_cv_header_pthread_h=yes ac_cv_header_pwd_h=yes ac_cv_header_regex_h=yes ac_cv_header_rpm_header_h=no ac_cv_header_rpm_rpmlib_h=no ac_cv_header_search_h=yes ac_cv_header_security_cryptoki_h=no ac_cv_header_sensors_sensors_h=yes ac_cv_header_sgtty_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_cdefs_h=yes ac_cv_header_sys_conf_h=no ac_cv_header_sys_diskio_h=no ac_cv_header_sys_disklabel_h=no ac_cv_header_sys_dkio_h=no ac_cv_header_sys_dkstat_h=no ac_cv_header_sys_dmap_h=no ac_cv_header_sys_file_h=yes ac_cv_header_sys_filio_h=no ac_cv_header_sys_fixpoint_h=no ac_cv_header_sys_fs_h=no ac_cv_header_sys_hashing_h=no ac_cv_header_sys_ioctl_h=yes ac_cv_header_sys_loadavg_h=no ac_cv_header_sys_mbuf_h=no ac_cv_header_sys_mntent_h=no ac_cv_header_sys_mnttab_h=no ac_cv_header_sys_mount_h=yes ac_cv_header_sys_param_h=yes ac_cv_header_sys_poll_h=yes ac_cv_header_sys_pool_h=no ac_cv_header_sys_proc_h=no ac_cv_header_sys_protosw_h=no ac_cv_header_sys_pstat_h=no ac_cv_header_sys_queue_h=yes ac_cv_header_sys_select_h=yes ac_cv_header_sys_sema_h=no ac_cv_header_sys_socket_h=yes ac_cv_header_sys_socketvar_h=yes ac_cv_header_sys_sockio_h=no ac_cv_header_sys_stat_h=yes ac_cv_header_sys_statfs_h=yes ac_cv_header_sys_statvfs_h=yes ac_cv_header_sys_stream_h=no ac_cv_header_sys_swap_h=yes ac_cv_header_sys_sysget_h=no ac_cv_header_sys_syslog_h=yes ac_cv_header_sys_sysmacros_h=yes ac_cv_header_sys_sysmp_h=no ac_cv_header_sys_systemcfg_h=no ac_cv_header_sys_systeminfo_h=no ac_cv_header_sys_tcpipstats_h=no ac_cv_header_sys_time_h=yes ac_cv_header_sys_timeb_h=yes ac_cv_header_sys_timeout_h=no ac_cv_header_sys_times_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_sys_uio_h=yes ac_cv_header_sys_un_h=yes ac_cv_header_sys_user_h=yes ac_cv_header_sys_utsname_h=yes ac_cv_header_sys_vfs_h=yes ac_cv_header_sys_vm_h=no ac_cv_header_sys_vmmac_h=no ac_cv_header_sys_vmmeter_h=no ac_cv_header_sys_vmparam_h=no ac_cv_header_sys_vmsystm_h=no ac_cv_header_sys_vnode_h=no ac_cv_header_sys_wait_h=yes ac_cv_header_syslog_h=yes ac_cv_header_time=yes ac_cv_header_ufs_ffs_fs_h=no ac_cv_header_ufs_fs_h=no ac_cv_header_ufs_ufs_dinode_h=no ac_cv_header_ufs_ufs_inode_h=no ac_cv_header_ufs_ufs_quota_h=no ac_cv_header_unistd_h=yes ac_cv_header_utmpx_h=yes ac_cv_header_utsname_h=no ac_cv_header_uvm_uvm_extern_h=no ac_cv_header_uvm_uvm_param_h=no ac_cv_header_valgrind_memcheck_h=no ac_cv_header_valgrind_valgrind_h=no ac_cv_header_vm_swap_pager_h=no ac_cv_header_vm_vm_extern_h=no ac_cv_header_vm_vm_h=no ac_cv_header_vm_vm_param_h=no ac_cv_header_windows_h=no ac_cv_header_xti_h=no ac_cv_host=riscv64-buildroot-linux-uclibc ac_cv_lbl_unaligned_fail=yes ac_cv_lib_crypto_EVP_md5=yes ac_cv_lib_kstat_kstat_lookup=no ac_cv_lib_pcap_pcap_create=yes ac_cv_lib_socket_in6addr_any=no ac_cv_member_struct_arphd_at_next=no ac_cv_member_struct_des_ks_struct_weak_key=no ac_cv_member_struct_dirent_d_type=yes ac_cv_member_struct_ethtool_cmd_speed_hi=yes ac_cv_member_struct_ifaddr_ifa_next=yes ac_cv_member_struct_ifnet_if_addrhead_tqh_first=no ac_cv_member_struct_ifnet_if_addrlist=no ac_cv_member_struct_ifnet_if_baudrate=no ac_cv_member_struct_ifnet_if_baudrate_ifs_value=no ac_cv_member_struct_ifnet_if_ibytes=yes ac_cv_member_struct_ifnet_if_imcasts=no ac_cv_member_struct_ifnet_if_iqdrops=yes ac_cv_member_struct_ifnet_if_lastchange_tv_nsec=no ac_cv_member_struct_ifnet_if_lastchange_tv_sec=no ac_cv_member_struct_ifnet_if_mtu=yes ac_cv_member_struct_ifnet_if_noproto=no ac_cv_member_struct_ifnet_if_obytes=yes ac_cv_member_struct_ifnet_if_omcasts=no ac_cv_member_struct_ifnet_if_speed=yes ac_cv_member_struct_ifnet_if_type=yes ac_cv_member_struct_ifnet_if_xname=no ac_cv_member_struct_in_ifaddr_ia_subnetmask=no ac_cv_member_struct_in_pktinfo_ipi_spec_dst=yes ac_cv_member_struct_ip6stat_ip6s_exthdrtoolong_=no ac_cv_member_struct_ipstat_ips_cantforward=no ac_cv_member_struct_ipstat_ips_cantfrag=no ac_cv_member_struct_ipstat_ips_delivered=no ac_cv_member_struct_ipstat_ips_fragdropped=no ac_cv_member_struct_ipstat_ips_fragmented=no ac_cv_member_struct_ipstat_ips_fragtimeout=no ac_cv_member_struct_ipstat_ips_localout=no ac_cv_member_struct_ipstat_ips_noproto=no ac_cv_member_struct_ipstat_ips_noroute=no ac_cv_member_struct_ipstat_ips_odropped=no ac_cv_member_struct_ipstat_ips_ofragments=no ac_cv_member_struct_ipstat_ips_reassembled=no ac_cv_member_struct_mbstat_m_clfree=no ac_cv_member_struct_mbstat_m_clusters=no ac_cv_member_struct_mbstat_m_mbufs=no ac_cv_member_struct_nlist64_n_value=no ac_cv_member_struct_nlist_n_value=no ac_cv_member_struct_rtentry_rt_dst=yes ac_cv_member_struct_rtentry_rt_hash=no ac_cv_member_struct_rtentry_rt_next=no ac_cv_member_struct_rtentry_rt_refcnt=no ac_cv_member_struct_rtentry_rt_unit=no ac_cv_member_struct_rtentry_rt_use=no ac_cv_member_struct_sigaction_sa_sigaction=no ac_cv_member_struct_sockaddr_in6_sin6_addr=yes ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes ac_cv_member_struct_sockaddr_sa_len=no ac_cv_member_struct_sockaddr_sa_union_sa_generic_sa_family2=no ac_cv_member_struct_sockaddr_storage___ss_family=no ac_cv_member_struct_sockaddr_storage_ss_family=yes ac_cv_member_struct_statfs_f_favail=no ac_cv_member_struct_statfs_f_ffree=yes ac_cv_member_struct_statfs_f_files=yes ac_cv_member_struct_statfs_f_flags=yes ac_cv_member_struct_statfs_f_frsize=yes ac_cv_member_struct_statvfs_f_files=yes ac_cv_member_struct_statvfs_f_frsize=yes ac_cv_member_struct_statvfs_mnt_dir=no ac_cv_member_struct_swdevt_sw_nblksenabled=no ac_cv_member_struct_tcpstat_tcp_rcvmemdrop=no ac_cv_member_struct_timezone_tz_dsttime=yes ac_cv_member_struct_tm_tm_gmtoff=yes ac_cv_member_struct_tm_tm_isdst=yes ac_cv_member_struct_udpstat_udps_discard=no ac_cv_member_struct_udpstat_udps_fullsock=no ac_cv_member_struct_udpstat_udps_ipackets=no ac_cv_member_struct_udpstat_udps_noport=no ac_cv_member_struct_udpstat_udps_noportbcast=no ac_cv_member_struct_udpstat_udps_opackets=no ac_cv_member_struct_uvmexp_pgswapin=no ac_cv_objext=o ac_cv_path_AUTOCONF=/tmp/instance-9/output-1/host/bin/autoconf ac_cv_path_AUTOHEADER=/tmp/instance-9/output-1/host/bin/autoheader ac_cv_path_DPKG_QUERY_PATH=/usr/bin/dpkg-query ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_FGREP='/usr/bin/grep -F' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_PERLPROG=/usr/bin/perl ac_cv_path_PSPROG=/bin/ps ac_cv_path_PYTHONPROG=/tmp/instance-9/output-1/host/bin/python3 ac_cv_path_SED=/usr/bin/sed ac_cv_path_UNAMEPROG=/usr/bin/uname ac_cv_path_install='/usr/bin/install -c' ac_cv_path_lt_DD=/usr/bin/dd ac_cv_prog_AR=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-ar ac_cv_prog_AWK=gawk ac_cv_prog_CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc ac_cv_prog_CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp ac_cv_prog_FILE=file ac_cv_prog_FIND=find ac_cv_prog_OBJDUMP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-objdump ac_cv_prog_RANLIB=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-ranlib ac_cv_prog_STRIP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-strip ac_cv_prog_WHOAMI=whoami ac_cv_prog_ac_ct_MANIFEST_TOOL=mt ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_gcc_traditional=no ac_cv_prog_make_make_set=yes ac_cv_ps_flags=-e ac_cv_saccaq=const ac_cv_safe_to_define___extensions__=yes ac_cv_search_getfsstat=no ac_cv_search_gethostbyaddr='none required' ac_cv_search_gethostbyname='none required' ac_cv_search_getmntent='none required' ac_cv_search_kinfo_get_cpus=no ac_cv_search_opendir='none required' ac_cv_search_socket='none required' ac_cv_sizeof_int=4 ac_cv_sizeof_intmax_t=8 ac_cv_sizeof_long=8 ac_cv_sizeof_long_long=8 ac_cv_sizeof_short=2 ac_cv_sizeof_sockaddr_un_sun_path=108 ac_cv_struct_rtentry=rtentry ac_cv_target=riscv64-buildroot-linux-uclibc ac_cv_type_Counter64=no ac_cv_type_in_addr_t=yes ac_cv_type_intmax_t=yes ac_cv_type_intptr_t=yes ac_cv_type_long_long_int=yes ac_cv_type_mib2_ipIfStatsEntry_t=no ac_cv_type_nfds_t=yes ac_cv_type_off64_t=yes ac_cv_type_off_t=yes ac_cv_type_pid_t=yes ac_cv_type_signal=void ac_cv_type_size_t=yes ac_cv_type_socklen_t=yes ac_cv_type_ssize_t=yes ac_cv_type_uintmax_t=yes ac_cv_type_uintptr_t=yes ac_cv_type_unsigned_long_long_int=yes ac_cv_user_prompt_COPY_PERSISTENT_FILES=no ac_cv_user_prompt_NETSNMP_DEFAULT_SNMP_VERSION=1 ac_cv_user_prompt_NETSNMP_LOGFILE=none ac_cv_user_prompt_NETSNMP_PERSISTENT_DIRECTORY=/var/lib/snmp ac_cv_user_prompt_NETSNMP_SYS_CONTACT=root@localhost ac_cv_user_prompt_NETSNMP_SYS_LOC=Unknown ac_cv_working_alloca_h=yes fu_cv_sys_stat_fs_data=no gl_cv_func_malloc_0_nonnull=yes lt_cv_ar_at_file=@ lt_cv_archive_cmds_need_lc=no lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-ld lt_cv_path_NM=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-nm lt_cv_path_mainfest_tool=no lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_c_o_RC=yes lt_cv_prog_compiler_pic='-fPIC -DPIC' lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=yes lt_cv_prog_gnu_ld=yes lt_cv_sharedlib_from_linklib_cmd='printf %s\n' lt_cv_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='/usr/bin/dd bs=4096 count=1' netsnmp_cv__func__name=__func__ netsnmp_cv_broken_inline=no netsnmp_cv_func_ceil_LNETSNMPLIBS='none required' netsnmp_cv_func_clock_gettime_LNETSNMPLIBS='none required' netsnmp_cv_func_dlopen_LMIBLIBS='none required' netsnmp_cv_func_endwin_LIBCURSES=-lcurses netsnmp_cv_func_exp_LMIBLIBS='none required' netsnmp_cv_func_kvm_getfile2_LMIBLIBS=no netsnmp_cv_func_kvm_getfiles_LMIBLIBS=no netsnmp_cv_func_kvm_getproc2_LMIBLIBS=no netsnmp_cv_func_kvm_getprocs_LMIBLIBS=no netsnmp_cv_func_kvm_getswapinfo_LMIBLIBS=no netsnmp_cv_func_kvm_openfiles_LAGENTLIBS=no netsnmp_cv_func_kvm_read_LAGENTLIBS=no netsnmp_cv_func_nl_connect_LMIBLIBS=-lnl-3 netsnmp_cv_func_pci_lookup_name_LMIBLIBS=-lpci netsnmp_cv_func_pcre_exec_LAGENTLIBS=-lpcre netsnmp_cv_sys_ioctl_h_has_SIOCGIFADDR=yes pkg_cv_LIBNL3_CFLAGS='-I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 ' pkg_cv_LIBNL3_LIBS='-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lnl-3 ' ## ----------------- ## ## Output variables. ## ## ----------------- ## AGENTLIBS='-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' AGENT_INCLUDES='SRC_AGENT_INCLUDES' ALLOCA='' AR='/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-ar' AS='/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-as' AUTOCONF='/tmp/instance-9/output-1/host/bin/autoconf' AUTOHEADER='/tmp/instance-9/output-1/host/bin/autoheader' AWK='gawk' CC='/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' CCPATH='' CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Ulinux -Dlinux=linux' CONFIGURE_OPTIONS='" '\''--target=riscv64-buildroot-linux-uclibc'\'' '\''--host=riscv64-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'\'' '\''--enable-nls'\'' '\''--disable-static'\'' '\''--enable-shared'\'' '\''--with-persistent-directory=/var/lib/snmp'\'' '\''--with-defaults'\'' '\''--enable-mini-agent'\'' '\''--without-rpm'\'' '\''--with-logfile=none'\'' '\''--without-kmem-usage'\'' '\''--enable-as-needed'\'' '\''--without-perl-modules'\'' '\''--disable-embedded-perl'\'' '\''--disable-perl-cc-checks'\'' '\''--disable-scripts'\'' '\''--with-default-snmp-version=1'\'' '\''--enable-silent-libtool'\'' '\''--enable-mfd-rewrites'\'' '\''--with-sys-contact=root@localhost'\'' '\''--with-sys-location=Unknown'\'' '\''--with-mib-modules=host ucd-snmp/dlmod agentx'\'' '\''--with-out-mib-modules=disman/event disman/schedule utilities'\'' '\''--disable-manuals'\'' '\''--with-endianness=little'\'' '\''--with-nl'\'' '\''--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl'\'' '\''--with-security-modules=tsm,usm'\'' '\''--with-transports=DTLSUDP,TLSTCP'\'' '\''--disable-mib-loading'\'' '\''--disable-mibs'\'' '\''--disable-debugging'\'' '\''--enable-agent'\'' '\''--disable-applications'\'' '\''build_alias=x86_64-pc-linux-gnu'\'' '\''host_alias=riscv64-buildroot-linux-uclibc'\'' '\''target_alias=riscv64-buildroot-linux-uclibc'\'' '\''CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc'\'' '\''CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os '\'' '\''LDFLAGS='\'' '\''LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto '\'' '\''CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64'\'' '\''CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp'\'' '\''PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'\''"' COPY_PERSISTENT_FILES='no' CPP='/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' CPPFLAGS='-I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' DEFS='-DHAVE_CONFIG_H' DEVFLAGS='' DLLIBS='' DLLTOOL='false' DPKG_QUERY_PATH='/usr/bin/dpkg-query' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/grep -E' EMBEDPERLINSTALL='' EMBEDPERLUNINSTALL='' ENV_SEPARATOR=':' EXEEXT='' EXTERNAL_MIBGROUP_INCLUDES=' -I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 ' EXTRACPPFLAGS='' FEATUREHEADERS='' FEATURETARGS='' FEATURE_ADD_FLAGS='' FEATURE_REMOVE_FLAGS='' FGREP='/usr/bin/grep -F' FILE='file' FIND='find' FTMAINSUBS='agent ' GNU_vpath='#vpath' GREP='/usr/bin/grep' HAVE_LIBCURSES='TRUE' HELPER_INCLUDES='SRC_HELPER_INCLUDES' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PREFIX='' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LAGENTLIBS='-lpcre ' LD='/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-ld' LDFLAGS='' LD_NO_UNDEFINED='-Wl,-no-undefined' LIBCURSES='-lcurses ' LIBNL3_CFLAGS='-I/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/include/libnl3 ' LIBNL3_LIBS='-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lnl-3 ' LIBOBJS='' LIBS='-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIBTOOLFLAGS='--silent' LIBTOOL_DEPS='./ltmain.sh' LINKCC='/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' LIPO='' LMIBLIBS='-lnl-3 -lpci -lpcre' LNETSNMPLIBS=' -lssl -lssl -lcrypto' LN_S='ln -s' LPSTAT_PATH='' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' MAINSUBS=' agent' MANIFEST_TOOL=':' MIBGROUP_INCLUDES='SRC_MIBGROUP_INCLUDES' MYSQLCONFIG='' MYSQL_INCLUDES='' MYSQL_LIBS='' NETSNMP_BUILD_PCAP_PROG_FALSE='#' NETSNMP_BUILD_PCAP_PROG_TRUE='' NETSNMP_BUILD_SET_PROG_FALSE='#' NETSNMP_BUILD_SET_PROG_TRUE='' NETSNMP_BUILD_SSH_PROG_FALSE='' NETSNMP_BUILD_SSH_PROG_TRUE='#' NETSNMP_BUILD_TLS_PROG_FALSE='#' NETSNMP_BUILD_TLS_PROG_TRUE='' NETSNMP_BUILD_USM_PROG_FALSE='#' NETSNMP_BUILD_USM_PROG_TRUE='' NETSNMP_DEFAULT_MIBDIRS='$HOME/.snmp/mibs:/usr/share/snmp/mibs' NETSNMP_DEFAULT_MIBS=':SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB' NETSNMP_HAVE_AGENTX_LIBS_FALSE='#' NETSNMP_HAVE_AGENTX_LIBS_TRUE='' NM='/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-nm' NMEDIT='' NON_GNU_VPATH='VPATH =' OBJDUMP='/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-objdump' OBJEXT='o' OTHERAGENTLIBLFTS='' OTHERAGENTLIBLOBJS='' OTHERAGENTLIBOBJS='' OTOOL64='' OTOOL='' PACKAGE_BUGREPORT='net-snmp-coders@lists.sourceforge.net' PACKAGE_NAME='Net-SNMP' PACKAGE_STRING='Net-SNMP 5.9' PACKAGE_TARNAME='net-snmp' PACKAGE_URL='' PACKAGE_VERSION='5.9' PARTIALTARGETFLAGS='-Ulinux -Dlinux=linux' PATH_SEPARATOR=':' PERLARGS='' PERLFEATURES='' PERLINSTALLTARGS='' PERLLDOPTS_FOR_APPS='' PERLLDOPTS_FOR_LIBS='' PERLPROG='/usr/bin/perl' PERLTARGS='' PERLUNINSTALLTARGS='' PERL_SYSTEM_INVOKES_POSIX_SHELL='yes' PERSISTENT_DIRECTORY='/var/lib/snmp' PKG_CONFIG='/tmp/instance-9/output-1/host/bin/pkg-config' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='' PSCMD='/bin/ps -e' PSPROG='/bin/ps' PYTHONARGS='' PYTHONCLEANTARGS='' PYTHONFEATURES='' PYTHONINSTALLTARGS='' PYTHONPROG='/tmp/instance-9/output-1/host/bin/python3' PYTHONTARGS='' PYTHONUNINSTALLTARGS='' RANLIB='/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-ranlib' RC='' SED='/usr/bin/sed' SET_MAKE='' SHELL='/bin/bash' SNMPCONFPATH='/etc/snmp' SNMPD='snmpd$(EXEEXT)' SNMPLIBPATH='/usr/lib/snmp' SNMPLIB_INCLUDES='SRC_SNMPLIB_INCLUDES' SNMPSHAREPATH='/usr/share/snmp' STRIP='/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-strip' TOP_INCLUDES='SRC_TOP_INCLUDES' TRAPLIBS='$(TRAPDWITHAGENT)' UCDPERSISTENT_DIRECTORY='/var/ucd-snmp' UNAMEPROG='/usr/bin/uname' USETRAPLIBS='$(USEAGENTLIBS)' VAL_LIBS='' VERSION='5.9' WHOAMI='whoami' ac_ct_AR='' ac_ct_CC='' ac_ct_DUMPBIN='' ac_cv_NETSNMP_SYSTEM_INCLUDE_FILE='net-snmp/system/linux.h' 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' crypto_files_c='' crypto_files_lo='' crypto_files_o='' datadir='${datarootdir}' datarootdir='${prefix}/share' default_mibs_install=' SNMPv2-MIB.txt IF-MIB.txt IP-MIB.txt TCP-MIB.txt UDP-MIB.txt HOST-RESOURCES-MIB.txt HOST-RESOURCES-TYPES.txt UCD-DLMOD-MIB.txt SNMP-VIEW-BASED-ACM-MIB.txt SNMP-COMMUNITY-MIB.txt SNMP-FRAMEWORK-MIB.txt SNMP-MPD-MIB.txt SNMP-USER-BASED-SM-MIB.txt SNMP-USER-BASED-SM-MIB.txt' dllcleans='' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='/usr' host='riscv64-buildroot-linux-uclibc' host_alias='riscv64-buildroot-linux-uclibc' host_cpu='riscv64' host_os='linux-uclibc' host_vendor='buildroot' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' installucdheaders='' installucdlibs='' krb5_config='' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var' mandir='${datarootdir}/man' oldincludedir='/usr/include' other_agentobjs='' other_ftagentobjs='' other_ftobjs_list='' other_lagentobjs='' other_lobjs_list='' other_objs_list='' other_src_list='' other_trapd_objects='' pdfdir='${docdir}' prefix='/usr' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' security_ftobj_list=' snmptsm.ft snmpusm.ft' security_hdr_list=' snmptsm.h snmpusm.h' security_lobj_list=' snmptsm.lo snmpusm.lo' security_obj_list=' snmptsm.o snmpusm.o' security_src_list=' snmptsm.c snmptsm.c snmpusm.c snmpusm.c' sharedstatedir='${prefix}/com' sysconfdir='/etc' target='riscv64-buildroot-linux-uclibc' target_alias='riscv64-buildroot-linux-uclibc' target_cpu='riscv64' target_os='linux-uclibc' target_vendor='buildroot' transport_ftobj_list=' transports/snmpTLSBaseDomain.ft transports/snmpIPv6BaseDomain.ft transports/snmpIPBaseDomain.ft transports/snmpUDPBaseDomain.ft transports/snmpUDPIPv4BaseDomain.ft transports/snmpTCPBaseDomain.ft transports/snmpSocketBaseDomain.ft transports/snmpIPv4BaseDomain.ft transports/snmpTLSTCPDomain.ft transports/snmpDTLSUDPDomain.ft transports/snmpUDPIPv6Domain.ft transports/snmpTCPIPv6Domain.ft transports/snmpUDPDomain.ft transports/snmpTCPDomain.ft transports/snmpAliasDomain.ft transports/snmpUnixDomain.ft transports/snmpCallbackDomain.ft ' transport_hdr_list='snmpTLSBaseDomain.h snmpIPv6BaseDomain.h snmpIPBaseDomain.h snmpUDPBaseDomain.h snmpUDPIPv4BaseDomain.h snmpTCPBaseDomain.h snmpSocketBaseDomain.h snmpIPv4BaseDomain.h snmpTLSTCPDomain.h snmpDTLSUDPDomain.h snmpUDPIPv6Domain.h snmpTCPIPv6Domain.h snmpUDPDomain.h snmpTCPDomain.h snmpAliasDomain.h snmpUnixDomain.h snmpCallbackDomain.h ' transport_lobj_list=' transports/snmpTLSBaseDomain.lo transports/snmpIPv6BaseDomain.lo transports/snmpIPBaseDomain.lo transports/snmpUDPBaseDomain.lo transports/snmpUDPIPv4BaseDomain.lo transports/snmpTCPBaseDomain.lo transports/snmpSocketBaseDomain.lo transports/snmpIPv4BaseDomain.lo transports/snmpTLSTCPDomain.lo transports/snmpDTLSUDPDomain.lo transports/snmpUDPIPv6Domain.lo transports/snmpTCPIPv6Domain.lo transports/snmpUDPDomain.lo transports/snmpTCPDomain.lo transports/snmpAliasDomain.lo transports/snmpUnixDomain.lo transports/snmpCallbackDomain.lo ' transport_obj_list=' transports/snmpTLSBaseDomain.o transports/snmpIPv6BaseDomain.o transports/snmpIPBaseDomain.o transports/snmpUDPBaseDomain.o transports/snmpUDPIPv4BaseDomain.o transports/snmpTCPBaseDomain.o transports/snmpSocketBaseDomain.o transports/snmpIPv4BaseDomain.o transports/snmpTLSTCPDomain.o transports/snmpDTLSUDPDomain.o transports/snmpUDPIPv6Domain.o transports/snmpTCPIPv6Domain.o transports/snmpUDPDomain.o transports/snmpTCPDomain.o transports/snmpAliasDomain.o transports/snmpUnixDomain.o transports/snmpCallbackDomain.o ' transport_src_list='transports/snmpTLSBaseDomain.c transports/snmpIPv6BaseDomain.c transports/snmpIPBaseDomain.c transports/snmpUDPBaseDomain.c transports/snmpUDPIPv4BaseDomain.c transports/snmpTCPBaseDomain.c transports/snmpSocketBaseDomain.c transports/snmpIPv4BaseDomain.c transports/snmpTLSTCPDomain.c transports/snmpDTLSUDPDomain.c transports/snmpUDPIPv6Domain.c transports/snmpTCPIPv6Domain.c transports/snmpUDPDomain.c transports/snmpTCPDomain.c transports/snmpAliasDomain.c transports/snmpUnixDomain.c transports/snmpCallbackDomain.c ' ## ------------------- ## ## File substitutions. ## ## ------------------- ## MODULE_LIST='mk/MODULE_LIST.mk' agent_module_list_c='mk/agent_module_list_c.mk' agent_module_list_deps='mk/agent_module_list_deps.mk' agent_module_list_ft='mk/agent_module_list_ft.mk' agent_module_list_lo='mk/agent_module_list_lo.mk' agent_module_list_o='mk/agent_module_list_o.mk' agentgroup_list_ft='mk/agentgroup_list_ft.mk' agentgroup_list_lo='mk/agentgroup_list_lo.mk' agentgroup_list_o='mk/agentgroup_list_o.mk' mib_module_list_c='mk/mib_module_list_c.mk' mib_module_list_deps='mk/mib_module_list_deps.mk' mib_module_list_ft='mk/mib_module_list_ft.mk' mib_module_list_lo='mk/mib_module_list_lo.mk' mib_module_list_o='mk/mib_module_list_o.mk' mibgroup_list_ft='mk/mibgroup_list_ft.mk' mibgroup_list_lo='mk/mibgroup_list_lo.mk' mibgroup_list_o='mk/mibgroup_list_o.mk' module_list_c='mk/module_list_c.mk' module_list_deps='mk/module_list_deps.mk' module_list_ft='mk/module_list_ft.mk' module_list_lo='mk/module_list_lo.mk' module_list_o='mk/module_list_o.mk' module_rules='mk/module_rules.mk' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "Net-SNMP" #define PACKAGE_TARNAME "net-snmp" #define PACKAGE_VERSION "5.9" #define PACKAGE_STRING "Net-SNMP 5.9" #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net" #define PACKAGE_URL "" #define NETSNMP_CONFIGURE_OPTIONS " '--target=riscv64-buildroot-linux-uclibc' '--host=riscv64-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' '--enable-nls' '--disable-static' '--enable-shared' '--with-persistent-directory=/var/lib/snmp' '--with-defaults' '--enable-mini-agent' '--without-rpm' '--with-logfile=none' '--without-kmem-usage' '--enable-as-needed' '--without-perl-modules' '--disable-embedded-perl' '--disable-perl-cc-checks' '--disable-scripts' '--with-default-snmp-version=1' '--enable-silent-libtool' '--enable-mfd-rewrites' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--with-mib-modules=host ucd-snmp/dlmod agentx' '--with-out-mib-modules=disman/event disman/schedule utilities' '--disable-manuals' '--with-endianness=little' '--with-nl' '--with-openssl=/tmp/instance-9/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/openssl' '--with-security-modules=tsm,usm' '--with-transports=DTLSUDP,TLSTCP' '--disable-mib-loading' '--disable-mibs' '--disable-debugging' '--enable-agent' '--disable-applications' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-uclibc' 'target_alias=riscv64-buildroot-linux-uclibc' 'CC=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' 'LDFLAGS=' 'LIBS=-L/tmp/instance-9/output-1/host/bin/../riscv64-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' 'CPP=/tmp/instance-9/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp' 'PKG_CONFIG=/tmp/instance-9/output-1/host/bin/pkg-config'" #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 HAVE_OPENSSL_AES_H 1 #define HAVE_OPENSSL_EVP_H 1 #define NETSNMP_DISABLE_APPS 1 #define NETSNMP_DISABLE_MIB_LOADING 1 #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1 #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1 #define NETSNMP_ENABLE_IPV6 1 #define NETSNMP_PERSISTENT_MASK 077 #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX" #define NETSNMP_ALWAYS_DEBUG 1 #define NETSNMP_NO_DEBUGGING 1 #define NETSNMP_NO_KMEM_USAGE 1 #define NETSNMP_NO_DUMMY_VALUES 1 #define NETSNMP_NO_SYSTEMD 1 #define NETSNMP_AGENTX_SOCKET "/var/agentx/master" #define NETSNMP_ENABLE_MFD_REWRITES 1 #define NETSNMP_DEFAULT_SNMP_VERSION 1 #define NETSNMP_SYS_CONTACT "root@localhost" #define NETSNMP_SYS_LOC "Unknown" #define NETSNMP_PERSISTENT_DIRECTORY "/var/lib/snmp" #define UNAMEPROG "/usr/bin/uname" #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/linux.h" #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h" #define HAVE_DPKG_QUERY 1 #define SNMPLIBPATH "/usr/lib/snmp" #define SNMPDLMODPATH "/usr/lib/snmp/dlmod" #define SNMPSHAREPATH "/usr/share/snmp" #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/share/snmp/mibs" #define SNMPCONFPATH "/etc/snmp" #define STDC_HEADERS 1 #define HAVE_DIRENT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_GETOPT_H 1 #define HAVE_PTHREAD_H 1 #define HAVE_REGEX_H 1 #define HAVE_STRING_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_UNISTD_H 1 #define HAVE_STDINT_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_TIMEB_H 1 #define HAVE_FCNTL_H 1 #define HAVE_LIMITS_H 1 #define HAVE_LOCALE_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TIMES_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_SYS_UTSNAME_H 1 #define HAVE_NETIPX_IPX_H 1 #define HAVE_DLFCN_H 1 #define HAVE_ERR_H 1 #define HAVE_FCNTL_H 1 #define HAVE_GRP_H 1 #define HAVE_LIMITS_H 1 #define HAVE_MNTENT_H 1 #define HAVE_PWD_H 1 #define HAVE_UTMPX_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_UTSNAME_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_ASM_TYPES_H 1 #define HAVE_LINUX_HDREG_H 1 #define HAVE_FCNTL_H 1 #define HAVE_GRP_H 1 #define HAVE_PWD_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SEARCH_H 1 #define HAVE_SGTTY_H 1 #define HAVE_SYS_POLL_H 1 #define HAVE_PCI_PCI_H 1 #define HAVE_OPENSSL_AES_H 1 #define HAVE_OPENSSL_DH_H 1 #define HAVE_OPENSSL_DES_H 1 #define HAVE_OPENSSL_HMAC_H 1 #define HAVE_OPENSSL_EVP_H 1 #define HAVE_SYS_SWAP_H 1 #define HAVE_MALLOC_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_SYS_QUEUE_H 1 #define HAVE_SYS_USER_H 1 #define HAVE_LINUX_NETLINK_H 1 #define HAVE_LINUX_RTNETLINK_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_SOCKETVAR_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NET_IF_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_NET_IF_ARP_H 1 #define HAVE_NETINET_IF_ETHER_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_IP_ICMP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_NETINET_UDP_H 1 #define HAVE_NET_ROUTE_H 1 #define HAVE_NETINET_ICMP6_H 1 #define HAVE_NETINET_IP6_H 1 #define HAVE_LINUX_ETHTOOL_H 1 #define HAVE_SENSORS_SENSORS_H 1 #define HAVE_STRUCT_RTENTRY_RT_DST 1 #define SIZEOF_SHORT 2 #define SIZEOF_INT 4 #define SIZEOF_LONG 8 #define SIZEOF_LONG_LONG 8 #define SIZEOF_INTMAX_T 8 #define HAVE_UNSIGNED_LONG_LONG_INT 1 #define HAVE_LONG_LONG_INT 1 #define HAVE_INTMAX_T 1 #define HAVE_UINTMAX_T 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_OFF64_T 1 #define HAVE_NFDS_T 1 #define NETSNMP_TRANSPORT_TLSBASE_DOMAIN 1 #define NETSNMP_TRANSPORT_IPV6BASE_DOMAIN 1 #define NETSNMP_TRANSPORT_IPBASE_DOMAIN 1 #define NETSNMP_TRANSPORT_UDPBASE_DOMAIN 1 #define NETSNMP_TRANSPORT_UDPIPV4BASE_DOMAIN 1 #define NETSNMP_TRANSPORT_TCPBASE_DOMAIN 1 #define NETSNMP_TRANSPORT_SOCKETBASE_DOMAIN 1 #define NETSNMP_TRANSPORT_IPV4BASE_DOMAIN 1 #define NETSNMP_TRANSPORT_TLSTCP_DOMAIN 1 #define NETSNMP_TRANSPORT_DTLSUDP_DOMAIN 1 #define NETSNMP_TRANSPORT_UDPIPV6_DOMAIN 1 #define NETSNMP_TRANSPORT_TCPIPV6_DOMAIN 1 #define NETSNMP_TRANSPORT_UDP_DOMAIN 1 #define NETSNMP_TRANSPORT_TCP_DOMAIN 1 #define NETSNMP_TRANSPORT_ALIAS_DOMAIN 1 #define NETSNMP_TRANSPORT_UNIX_DOMAIN 1 #define NETSNMP_TRANSPORT_CALLBACK_DOMAIN 1 #define NETSNMP_SECMOD_TSM 1 #define NETSNMP_SECMOD_USM 1 #define HAVE_DECL_SENSORS_GET_ALL_SUBFEATURES 1 #define NETSNMP_USE_SENSORS_V3 1 #define HAVE_GETMNTENT 1 #define HAVE_DLOPEN 1 #define HAVE_PCRE_H 1 #define ENV_SEPARATOR ":" #define ENV_SEPARATOR_CHAR ':' #define NETSNMP_DEFAULT_MIBS ":SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DLMOD-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB" #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETHOSTBYADDR 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_PCI_LOOKUP_NAME 1 #define HAVE_NETLINK_NETLINK_H 1 #define HAVE_LIBNL3 1 #define HAVE_LIBCRYPTO 1 #define HAVE_AES_CFB128_ENCRYPT 1 #define HAVE_EVP_SHA224 1 #define HAVE_EVP_SHA384 1 #define HAVE_EVP_MD_CTX_NEW 1 #define HAVE_EVP_MD_CTX_FREE 1 #define HAVE_DH_SET0_PQG 1 #define HAVE_DH_GET0_PQG 1 #define HAVE_DH_GET0_KEY 1 #define HAVE_ASN1_STRING_GET0_DATA 1 #define HAVE_X509_NAME_ENTRY_GET_OBJECT 1 #define HAVE_X509_NAME_ENTRY_GET_DATA 1 #define HAVE_X509_GET_SIGNATURE_NID 1 #define SECOND_APPVERIFY_COOKIE_CB_ARG_QUALIFIER const #define HAVE_TLS_METHOD 1 #define HAVE_TLSV1_METHOD 1 #define HAVE_DTLS_METHOD 1 #define HAVE_DTLSV1_METHOD 1 #define HAVE_LIBSSL_DTLS 1 #define HAVE_LIBSSL 1 #define NETSNMP_CAN_DO_CRYPTO 1 #define HAVE_PCAP_PCAP_H 1 #define HAVE_CURSES_H 1 #define NETSNMP_USE_OPENSSL 1 #define TIME_WITH_SYS_TIME 1 #define NETSNMP_ATTRIBUTE_DEPRECATED __attribute__((deprecated)) #define NETSNMP_ATTRIBUTE_UNUSED __attribute__((unused)) #define HAVE_SOCKLEN_T 1 #define HAVE_IN_ADDR_T 1 #define HAVE_SSIZE_T 1 #define NETSNMP_SELECT_TIMEVAL struct timeval #define NETSNMP_IOCTLSOCKET_ARG void #define HAVE_ALLOCA_H 1 #define HAVE_ALLOCA 1 #define RETSIGTYPE void #define HAVE_RAND 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_SRANDOM 1 #define HAVE_LRAND48 1 #define HAVE_SRAND48 1 #define HAVE_ASPRINTF 1 #define HAVE_CLOSEDIR 1 #define HAVE_FGETC_UNLOCKED 1 #define HAVE_FLOCKFILE 1 #define HAVE_FUNLOCKFILE 1 #define HAVE_GETTIMEOFDAY 1 #define HAVE_GETLOGIN 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_MKSTEMP 1 #define HAVE_OPENDIR 1 #define HAVE_READDIR 1 #define HAVE_REGCOMP 1 #define HAVE_SETENV 1 #define HAVE_SETITIMER 1 #define HAVE_SETLOCALE 1 #define HAVE_SETSID 1 #define HAVE_SNPRINTF 1 #define HAVE_STRCASESTR 1 #define HAVE_STRDUP 1 #define HAVE_STRERROR 1 #define HAVE_STRNCASECMP 1 #define HAVE_SYSCONF 1 #define HAVE_TIMES 1 #define HAVE_VSNPRINTF 1 #define HAVE_EXECV 1 #define HAVE_FORK 1 #define HAVE_SIGNAL 1 #define HAVE_SIGSET 1 #define HAVE_UNAME 1 #define HAVE_GAI_STRERROR 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETHOSTBYNAME2 1 #define HAVE_GETHOSTNAME 1 #define HAVE_GETHOSTBYADDR 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_GETOPT 1 #define HAVE_STRLCAT 1 #define HAVE_STRLCPY 1 #define HAVE_STRTOK_R 1 #define HAVE_STRTOL 1 #define HAVE_STRTOUL 1 #define HAVE_STRTOULL 1 #define HAVE_CHOWN 1 #define HAVE_FSYNC 1 #define HAVE_GAI_STRERROR 1 #define HAVE_GETGRNAM 1 #define HAVE_GETHOSTNAME 1 #define HAVE_GETPID 1 #define HAVE_GETPWNAM 1 #define HAVE_HASMNTOPT 1 #define HAVE_INITGROUPS 1 #define HAVE_IF_NAMEINDEX 1 #define HAVE_IF_INDEXTONAME 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_LOCALTIME_R 1 #define HAVE_MKSTEMP 1 #define HAVE_MKTIME 1 #define HAVE_POLL 1 #define HAVE_REGCOMP 1 #define HAVE_SETGID 1 #define HAVE_SETGROUPS 1 #define HAVE_SETMNTENT 1 #define HAVE_SETUID 1 #define HAVE_SIGACTION 1 #define HAVE_SIGHOLD 1 #define HAVE_SIGPROCMASK 1 #define HAVE_STATFS 1 #define HAVE_STATVFS 1 #define HAVE_STIME 1 #define HAVE_STRNCASECMP 1 #define HAVE_SYSTEM 1 #define HAVE_USLEEP 1 #define HAVE_GETDTABLESIZE 1 #define HAVE_GETGRNAM 1 #define HAVE_GETPID 1 #define HAVE_GETPWNAM 1 #define HAVE_SETGID 1 #define HAVE_SETGROUPS 1 #define HAVE_SETUID 1 #define HAVE_TCGETATTR 1 #define HAVE_IF_FREENAMEINDEX 1 #define HAVE_GETPAGESIZE 1 #define HAVE_LSEEK64 1 #define HAVE_PREAD64 1 #define HAVE_SELECT 1 #define HAVE_SOCKET 1 #define NETSNMP_FUNCTION __func__ #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1 #define NETSNMP_PRIz "z" #define HAVE_STRUCT_DIRENT_D_TYPE 1 #define HAVE_STRUCT_ETHTOOL_CMD_SPEED_HI 1 #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 #define SIZEOF_SOCKADDR_UN_SUN_PATH 108 #define HAVE_STRUCT_STATFS_F_FFREE 1 #define HAVE_STRUCT_STATFS_F_FILES 1 #define HAVE_STRUCT_STATFS_F_FLAGS 1 #define HAVE_STRUCT_STATFS_F_FRSIZE 1 #define HAVE_STRUCT_STATVFS_F_FILES 1 #define HAVE_STRUCT_STATVFS_F_FRSIZE 1 #define HAVE_STRUCT_TM_TM_GMTOFF 1 #define HAVE_STRUCT_TM_TM_ISDST 1 #define HAVE_DECL_DAYLIGHT 1 #define HAVE_DECL_TIMEZONE 1 #define HAVE_SCALAR_TIMEZONE 1 #define HAVE_STRUCT_TIMEZONE_TZ_DSTTIME 1 #define HAVE_STRUCT_IFADDR_IFA_NEXT 1 #define HAVE_STRUCT_IFNET_IF_IBYTES 1 #define HAVE_STRUCT_IFNET_IF_IQDROPS 1 #define HAVE_STRUCT_IFNET_IF_MTU 1 #define HAVE_STRUCT_IFNET_IF_OBYTES 1 #define HAVE_STRUCT_IFNET_IF_SPEED 1 #define HAVE_STRUCT_IFNET_IF_TYPE 1 #define RTENTRY struct rtentry #define HAVE_PRIORITYNAMES 1 #define KERNEL_LOC "unknown" #define ETC_MNTTAB "/etc/mtab" #define PSCMD "/bin/ps -e" #define HAVE_SIGHUP 1 #define HAVE_SO_BINDTODEVICE 1 #define HAVE_STRUCT_IN_PKTINFO_IPI_SPEC_DST 1 #define HAVE_IP_PKTINFO 1 configure: exit 0